Agent skill
workbench-docs
Documentation workflows for Workbench CLI. Use when creating or updating specs, architecture docs, verification docs, runbooks, guides, or general docs, and when syncing backlinks or change notes.
Install this agent skill to your Project
npx add-skill https://github.com/incursa/workbench/tree/main/skills/workbench-docs
SKILL.md
Key settings
.workbench/config.json: paths.docsRoot, paths.templatesDir, ids.width, prefixes, git.defaultBaseBranch, github.owner, github.repository.- Use
workbench config show --format jsonto verify effective settings.
Core workflows
- Planning phase: create specs and architecture docs before major changes.
- Doing phase: keep docs updated as implementation decisions change.
- Keep doc front matter and backlinks in sync.
- Summarize doc changes when publishing.
Commands
Create a doc:
workbench doc new --type doc --title "Title" --path docs/title.md --work-item WI-WB-0001
Create a spec:
workbench doc new --type spec --title "Title" --path specs/SPEC-EXAMPLE.md --work-item WI-WB-0001
Create an architecture doc:
workbench doc new --type doc --title "System design" --path architecture/system-design.md --work-item WI-WB-0001
Create a verification doc:
workbench doc new --type verification --title "Proof" --path verification/proof.md --work-item WI-WB-0001
Link a doc to work items:
workbench doc link --type spec --path specs/SPEC-EXAMPLE.md --work-item WI-WB-0001
Sync front matter and backlinks:
workbench doc sync --all --dry-run
workbench doc sync --all
Summarize doc changes:
workbench doc summarize --staged --update-index
Output
- Markdown docs with Workbench front matter and backlinks.
- Updated work item references in docs and work items.
Guardrails
- Keep doc types aligned with folder intent (specs, architecture, verification, runbooks, and general docs).
- Always link docs to relevant work items with
--work-itemorworkbench item link. - When writing markdown, use clickable relative links for repository-local references, and keep inline code styling inside the link text when needed. Use absolute URLs only for external resources such as NuGet package pages.
- For major changes, write a spec before implementation.
- Prefer
workbench doccommands;workbench specandworkbench adrare deprecated.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
workbench-github
GitHub workflows for Workbench CLI. Use when creating pull requests from work items or wiring GitHub-specific actions.
workbench-architecture
Architecture and ADR workflows for Workbench CLI. Use when documenting system design, decisions, tradeoffs, or rationale that must be tracked over time.
dotnet-build-diagnostics
Capture dotnet environment and CI-style build diagnostics with binlog and summary output.
dotnet-test-triage
Run dotnet test, capture failed test cases, and generate a rerun filter plus a markdown failure summary. Use when test runs fail and you need a focused rerun command or a compact failure report.
dotnet-symbol-grep-recipes
Quick ripgrep recipes for common C# navigation tasks in this repo.
workbench-docs
Documentation workflows for Workbench CLI. Use when creating or updating specs, ADRs, runbooks, guides, or general docs, and when syncing backlinks or change notes.
Didn't find tool you were looking for?