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
The following is the state of the git repository at the start of the conversation. Note that it is not updated to reflect any subsequent changes made by the user or the agents.
94
94
95
+
**IMPORTANT:** There may be other files changed in the git status/diff that are unrelated to the current request. The user may be working on multiple tasks simultaneously. Preserve those changes — do NOT revert, discard, or modify files that are not part of the current task.
96
+
95
97
${PLACEHOLDER.GIT_CHANGES_PROMPT}
96
98
`
97
99
@@ -209,10 +211,16 @@ Capture learnings for future sessions:
209
211
- Unexpected behaviors or gotchas encountered
210
212
- Useful patterns or approaches discovered
211
213
- Anything that would help a future agent work more efficiently on this project
212
-
2. Update or create skill files in \`.agents/skills/\`. You may update multiple skills or create new ones as appropriate:
214
+
2. Update or create skill files in \`.agents/skills/\`. There is a HIGH BAR for contributing to skills — only add genuinely valuable, non-obvious insights. You may update multiple skills or create new ones as appropriate:
213
215
- **Dedicated skills**: If there are substantial, detailed learnings about a specific topic (e.g. E2E validation, database migrations, authentication patterns), create or update a dedicated skill file at \`.agents/skills/<topic>/SKILL.md\`. Use the same frontmatter format as existing skills (name, description).
214
216
- **Existing skills**: If learnings are relevant to an already-existing skill (check \`.agents/skills/\` for what exists), update that skill with the new information.
215
217
- **Meta skill**: For general/miscellaneous learnings about the project as a whole, or tips that don't fit neatly into a specific topic, use \`.agents/skills/meta/SKILL.md\`.
218
+
- **IMPORTANT: Skills must NEVER include specifics about this particular run, feature, or task.** Skills are meant to be broadly applicable knowledge. For example:
219
+
- ✅ DO: "E2E tests for the web app require starting the dev server first with \`bun dev\` and waiting for port 3000"
220
+
- ✅ DO: "The \`packages/internal/\` directory contains server-only code — never import from it in \`cli/\` or \`common/\`"
221
+
- ✅ DO: "Drizzle migrations must be generated via the internal DB scripts, not hand-written"
222
+
- ❌ DON'T: "When implementing the auth token refresh feature, we had to..."
223
+
- ❌ DON'T: "The spec for this task required 3 rounds of revision because..."
216
224
- For each skill file you update or create:
217
225
- Read the existing file first (if it exists)
218
226
- Concisely incorporate the most important learnings from this session
0 commit comments