con un clic
con un clic
Execute an approved Plan to implement the feature.
Create a new Specification for a feature.
Create a new Plan from an approved Specification.
| name | spek-knowledge |
| description | Search, contribute to, or update the project's knowledge base. |
This skill orchestrates the existing {{command}} knowledge CRUD surface for ad-hoc read, contribute, and update operations on the project's knowledge store, without starting a spec/plan/implement flow. Unlike spek-new, spek-plan, and spek-implement, it does not drive an interactive CLI state machine — it is a static playbook. The agent recognises the user's natural-language intent, picks one of three branches (lookup / contribute / update), and calls the matching {{command}} knowledge command directly.
Invoke this skill any time the user references the knowledge base, an entry, a convention worth remembering, or asks a question that the knowledge store might already answer. Typical natural-language triggers include:
One skill handles all three intents. Discriminate by what the user actually said — do not ask the user to pick a slash command per intent.
Triggered when the user wants to read or search existing entries.
{{command}} knowledge search <query> with a concise query derived from the user's question. The output is a list of hits, each tagged with its scope field (e.g. project, global).{{command}} knowledge read --data '{"scope":"<scope>","path":"<path>"}' for that entry and present the body.Triggered when the user wants to record something new.
{{command}} knowledge sources to enumerate configured scopes. The output is the authoritative list of writable destinations..spektacular/tmp/<slug>.md using the Write tool. Do not pipe the body via stdin; the only supported invocation is --file <staged>.{{command}} knowledge write --data '{"scope":"<scope>","path":"<path>"}' --file .spektacular/tmp/<slug>.md
rm .spektacular/tmp/<slug>.md.Triggered when the user wants to revise an existing entry.
{{command}} knowledge search <query> (or read the user-supplied path directly) to locate it. Confirm the scope and path with the user if there is any ambiguity.{{command}} knowledge read --data '{"scope":"<scope>","path":"<path>"}'..spektacular/tmp/<slug>.md using the Write tool.{{command}} knowledge write --data '{"scope":"<scope>","path":"<path>"}' --file .spektacular/tmp/<slug>.md
The scope and path must match the original — that is what makes this an update rather than a new entry.rm .spektacular/tmp/<slug>.md.If the user declines, asks for changes, or expresses uncertainty at any propose-then-confirm checkpoint, do not invoke {{command}} knowledge write. Either loop back to refine the proposal — adjust scope, path, or body and re-show — or stop and leave the knowledge store untouched. Removing the staged scratch file at .spektacular/tmp/<slug>.md is fine either way; a half-finished proposal should not linger on disk.
The propose-then-confirm contract is enforced by this prose, not by a CLI guard. Treat it as load-bearing: a write without explicit user approval is a bug in the skill's execution, not an acceptable shortcut.