Repository navigation
feat(assets): scaffold the six knowledge-base skills and their commands #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| --- | ||
| description: Record a hard-to-reverse decision as a numbered ADR under docs/adr/, or supersede one that stopped being true | ||
| argument-hint: [the decision, or the ADR being superseded] | ||
| --- | ||
|
|
||
| Use the `adr` skill. | ||
|
|
||
| Decision: $ARGUMENTS | ||
|
|
||
| First ask whether this is an ADR at all: how expensive would it be to undo? A | ||
| decision that is cheap to change belongs in the spec's `design.md`, and an `adr/` | ||
| full of reversible choices buries the records that actually explain the system. | ||
|
|
||
| If an existing record is being replaced, write the new one and mark the old one | ||
| superseded — never edit its prose. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| description: Narrate an area of the codebase into docs/codewiki/, every section citing the exact lines it explains | ||
| argument-hint: [area or path to narrate | repair] | ||
| --- | ||
|
|
||
| Use the `codewiki` skill. | ||
|
|
||
| Area: $ARGUMENTS | ||
|
|
||
| If no area was named, run `scc validate` and repair the `codewiki.*` findings it | ||
| reports — a broken citation means the code moved and the prose describing it is now | ||
| suspect, so re-read before re-numbering. If there are no findings and no area was | ||
| named, ask which area is hard to enter cold rather than picking one at random. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| description: Add, settle, or rename a canonical term in docs/glossary.md, and list the synonyms to avoid | ||
| argument-hint: [term, or the ambiguity to settle] | ||
| --- | ||
|
|
||
| Use the `glossary` skill. | ||
|
|
||
| Term: $ARGUMENTS | ||
|
|
||
| Read `docs/glossary.md` before adding to it — an entry that duplicates an existing | ||
| concept under a different name makes the canonical source itself ambiguous. If | ||
| nothing was named, run `scc validate` and resolve the `glossary.*` findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| description: Turn an initiative too large for one spec into a plan under plans/ — decomposed into specs and tasks | ||
| argument-hint: [the initiative, epic, or PRD] | ||
| --- | ||
|
|
||
| Use the `prd` skill. | ||
|
|
||
| Initiative: $ARGUMENTS | ||
|
|
||
| Check the routing question before you start: work that is one feature with unsettled | ||
| requirements is a spec, not a plan — run `scc spec new <feature>` instead of wrapping | ||
| one feature in a plan for ceremony. | ||
|
|
||
| If the initiative is too vague to decompose, ask a small batch of concrete | ||
| multiple-choice questions once, then decompose. Do not guess at the scope, and do not | ||
| interview at length — stop asking the moment you can name the leaves. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| description: Record an adopted technology in docs/stack.md, or account for a dependency that nobody decided on | ||
| argument-hint: [technology being adopted or dropped] | ||
| --- | ||
|
|
||
| Use the `stack` skill. | ||
|
|
||
| Technology: $ARGUMENTS | ||
|
|
||
| If nothing was named, run `scc validate` and work through the | ||
| `stack.undocumented-dependency` findings: for each one, either record the decision or | ||
| establish that nobody can justify the dependency and remove it. Both are correct | ||
| outcomes; listing a name with no reason is not. | ||
|
|
||
| Adopting technology is a decision with a long tail. If it is not obviously the right | ||
| call, stop and ask rather than committing on someone else's behalf. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| description: Build or maintain docs/wiki/ — ingest a source from docs/raw/, answer from what is known, or clear wiki.* findings | ||
| argument-hint: [ingest <file> | query <question> | maintain] | ||
| --- | ||
|
|
||
| Use the `wiki` skill. | ||
|
|
||
| Request: $ARGUMENTS | ||
|
|
||
| If nothing was asked for specifically, look at `docs/raw/` first — anything sitting | ||
| there is unprocessed work and is the default job. If `raw/` is empty, run | ||
| `scc validate` and clear whatever `wiki.*` findings it reports. If there are none, | ||
| say so rather than inventing pages. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Handle the documented
repairmode explicitly.The argument hint advertises
repair, but the instructions only run validation when$ARGUMENTSis empty./scc-codewiki repairtherefore setsArea: repairand skips thecodewiki.*repair workflow. Branch on the exactrepairargument, or remove it from the argument hint.Also applies to: 10-13
🤖 Prompt for AI Agents