You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a new driver: create a new plugin bundle under `Plugins/`, implement `DriverPlugin` + `PluginDatabaseDriver`, add target to pbxproj. See `docs/development/plugin-system/` for details.
70
70
@@ -93,13 +93,13 @@ When adding a new method to the driver protocol: add to `PluginDatabaseDriver` (
93
93
94
94
`Core/Services/` is split into domain subdirectories:
When approaching limits: extract into `TypeName+Category.swift` extensionfiles in an `Extensions/` subfolder. Group by domain logic, not arbitrary line counts.
159
159
@@ -166,11 +166,11 @@ These are **non-negotiable** — never skip them:
166
166
2. **Localization**: Use `String(localized:)`for new user-facing strings in computed properties, AppKit code, alerts, and error descriptions. SwiftUI view literals (`Text("literal")`, `Button("literal")`) auto-localize. Do NOT localize technical terms (font names, database types, SQL keywords, encoding names).
167
167
168
168
3. **Documentation**: Update docs in `docs/` (Mintlify-based) when adding/changing features. Key mappings:
169
-
- New keyboard shortcuts → `docs/features/keyboard-shortcuts.mdx`
- Update both English (`docs/`) and Vietnamese (`docs/vi/`) pages
174
174
175
175
4. **Test-first correctness**: When tests fail, fix the **source code** — never adjust tests to match incorrect output. Tests define expected behavior.
176
176
@@ -180,11 +180,12 @@ These are **non-negotiable** — never skip them:
180
180
181
181
## Agent Execution Strategy
182
182
183
-
- **Always use subagents** for implementation work. Delegate coding tasks to Task subagents to preserve main context tokens.
184
-
- **Always parallelize** independent tasks. Launch all subagents in a single message with multiple Task tool calls.
185
-
- **Main context = orchestrator only.** Read files, launch subagents, summarize results, update tracking. Never do heavy implementation directly.
186
-
- **Subagent prompts must be self-contained.** Include file paths, the specific problem, and clear instructions.
187
-
- **Every implementation must run in a separate worktree.** Use `isolation: "worktree"` when spawning Task subagents for any code changes. This keeps the main branch clean and allows parallel work without conflicts.
183
+
- **Always use team agents** for implementation work. Use the Agent tool (not subagents/tasks) to delegate coding to specialized agents (e.g., `feature-dev:feature-dev`, `feature-dev:code-architect`, `code-simplifier:code-simplifier`).
184
+
- **Always parallelize** independent tasks. Launch multiple agents in a single message.
185
+
- **Main context = orchestrator only.** Read files, launch agents, summarize results, update tracking. Never do heavy implementation directly.
186
+
- **Agent prompts must be self-contained.** Include file paths, the specific problem, and clear instructions.
187
+
- **Use worktree isolation** (`isolation: "worktree"`) for agents making code changes. This keeps the main branch clean and allows parallel work without conflicts.
188
+
- **Implementation standards** (apply to ALL new features and refactors): Clean architecture, correct macOS/Apple platform approach, proper design patterns, no backward compatibility hacks, easy to maintain and extensible. Always include these requirements in agent prompts.
0 commit comments