Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .agents/skills/create-issue/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,18 @@ If you cannot run the grill skill, do not silently downgrade it to "doc-grounded
- Discovery hint: look for a skill or command named `grill-with-docs` or `grill-me` (e.g. `~/.cursor/skills/grill-with-docs/`, `~/.cursor/skills/grill-me/`, `.cursor/skills/...`, `.agents/skills/...`).
- If neither is registered, state explicitly that no grill skill was found, then proceed with the workflow on the input as given.

When this workflow invokes an external grill skill, treat it as a nested issue-shaping dependency: obey that skill's procedure exactly, do not implement product code during the grill sub-session unless that skill explicitly requires documentation/context updates, then return to this workflow and draft the issue.

### Active context declaration

Do not declare the active context at invocation time. First resolve the issue template, investigate duplicates/related code, read project/area context, discover matching skills, and run the grill skill when available. Then, immediately before drafting the issue, briefly state the context and skills that are now active, for example:

```text
Active context before drafting: AGENTS.md, project-area/AGENTS.md, project-area/CONTEXT.md, docs/adr/0003-..., react-stack, convex, grill-with-docs. No matching <domain> skill found.
```

This is a gate immediately before drafting: if a relevant project, stack, domain, or grill skill exists but is missing from the declaration, load it before continuing. A context note before grill does not satisfy this gate; the active context must be restated with the issue draft.

### Steps

1. Parse the tagline or short description. If missing, ask.
Expand All @@ -62,8 +74,8 @@ If you cannot run the grill skill, do not silently downgrade it to "doc-grounded
- Search code, docs, tests, and existing open/closed issues for duplicates and related work.
- Read the implementation area the issue touches. Do not draft from the tagline alone.
- If the tagline cannot become a concrete issue without guessing, stop and ask.
4. **Run the grill skill (GATE A).** When `grill-with-docs` / `grill-me` is registered, **read that skill and execute its actual question loop now** on the tagline plus your investigation findings — ask the questions, wait for answers, iterate to completion — then fold its output into the issue body. Do not substitute a "doc-grounded" answer or your own ad-hoc questions for the skill. If none is registered, say so explicitly and continue.
5. Draft the issue. A good issue typically includes:
4. **Run the grill skill (GATE A).** When `grill-with-docs` / `grill-me` is registered, **read that skill and execute its actual question loop now** on the tagline plus your investigation findings — ask the questions, wait for answers, iterate to completion — then fold its output into the issue body. Provide the grill skill with the project, stack, domain, docs, ADR, and investigation context discovered in steps 2–3. Do not substitute a "doc-grounded" answer or your own ad-hoc questions for the skill. Do not implement product code during the grill sub-session unless the grill skill explicitly requires documentation/context updates. If no grill skill is registered, say so explicitly and continue.
5. **Declare active context, then draft the issue.** Before drafting, state the active context/skills discovered and used in steps 2–4, including any applicable project, stack, domain, docs, ADR, and grill skills. If the declaration reveals a relevant missing skill or context file, load it before continuing. A good issue typically includes:
- A specific, plain-language title with no area prefix (use labels for area/type).
- A short problem summary.
- For bugs: reproduction command or minimal code/UI sample; current vs expected behavior.
Expand Down
6 changes: 5 additions & 1 deletion .agents/skills/create-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ Explicit permission to commit relevant changes, push the branch, and open a draf

4. If the current branch is the base branch, create a focused branch first. Use the issue number or a change summary; ask when ambiguous.
5. Stage only relevant files. Exclude secrets and unrelated local changes.
6. Commit with a concise message passed via HEREDOC.
6. Commit with a concise Conventional Commit message passed via HEREDOC:
- Subject format: `type(scope): summary`.
- Use one of: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`.
- Pick the narrowest accurate scope; omit the scope only when no meaningful scope exists.
- Use imperative mood, lowercase the summary after the type/scope, and do not end the subject with a period.
7. Push with upstream tracking when needed: `git push -u origin HEAD`.
8. Resolve the PR template:
- Read `.github/pull_request_template.md`, or pick the matching template under `.github/PULL_REQUEST_TEMPLATE/` if the repo uses multiple.
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/git-workflow/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Resolve any conflicts and commit the merge before continuing. Do not `git rebase
### Commits

- Each logical change is its own commit. Use a HEREDOC for multi-line messages so formatting is preserved.
- Always use Conventional Commit subjects: `type(scope): summary`, with type from `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, or `revert`. Pick the narrowest accurate scope; omit the scope only when no meaningful scope exists.
- Write the subject in imperative mood, lowercase after the type/scope, no trailing period, and keep it concise. Use the body for rationale or verification details when helpful.
- Do not amend. If a commit needs a fix-up, add a new commit.
- Do not skip hooks (`--no-verify`) unless the user explicitly asks.

Expand Down
5 changes: 1 addition & 4 deletions .agents/skills/grill-with-docs/CONTEXT-FORMAT.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,10 @@ _Avoid_: Client, buyer, account

## Rules

- **Be opinionated.** When multiple words exist for the same concept, pick the best one and list the others as aliases to avoid.
- **Flag conflicts explicitly.** If a term is used ambiguously, call it out in "Flagged ambiguities" with a clear resolution.
- **Be opinionated.** When multiple words exist for the same concept, pick the best one and list the others under `_Avoid_`.
- **Keep definitions tight.** One or two sentences max. Define what it IS, not what it does.
- **Show relationships.** Use bold term names and express cardinality where obvious.
- **Only include terms specific to this project's context.** General programming concepts (timeouts, error types, utility patterns) don't belong even if the project uses them extensively. Before adding a term, ask: is this a concept unique to this context, or a general programming concept? Only the former belongs.
- **Group terms under subheadings** when natural clusters emerge. If all terms belong to a single cohesive area, a flat list is fine.
- **Write an example dialogue.** A conversation between a dev and a domain expert that demonstrates how the terms interact naturally and clarifies boundaries between related concepts.

## Single vs multi-context repos

Expand Down
Loading
Loading