internal/instructions/skills/kn-verify/SKILL.md
Use when running SDD verification and coverage reporting
npx skillsauth add knowns-dev/knowns kn-verifyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run validation with SDD-awareness to check spec coverage and task status.
Announce: "Using kn-verify to check SDD status."
Core principle: VERIFY SPEC COVERAGE → REPORT WARNINGS → SUGGEST FIXES.
knowns validate --sdd --plain
mcp_knowns_validate({ "scope": "sdd" })
Return the verification result using the shared output contract:
The key-details portion may include a compact status block such as:
Specs: X total | Y approved | Z draft
Tasks: X total | Y done | Z in-progress | W todo
Coverage: X/Y tasks linked to specs (Z%)
Warnings:
- task-XX has no spec reference
- specs/feature: X/Y ACs incomplete
Passed:
- All spec references resolve
- specs/auth: fully implemented
Good coverage (>80%):
SDD coverage is healthy. All tasks are properly linked to specs.
Medium coverage (50-80%):
Some tasks are missing spec references. Consider:
- Link existing tasks to specs:
knowns task edit <id> --spec specs/<name>- Create specs for unlinked work:
/kn-spec <feature-name>
Low coverage (<50%):
Many tasks lack spec references. For better traceability:
- Create specs for major features:
/kn-spec <feature>- Link tasks to specs:
knowns task edit <id> --spec specs/<name>- Use
/kn-plan --from @doc/specs/<name>for new tasks
Based on warnings, add the most relevant fixes inside the key-details section, then give one best next command only if a natural handoff exists:
For tasks without spec:
Link task to spec:
mcp_knowns_tasks({ "action": "update", > "taskId": "<id>", "spec": "specs/<name>" })
For incomplete ACs:
Check task progress:
knowns task <id> --plain
For approved specs without tasks:
Create tasks from spec:
/kn-plan --from @doc/specs/<name>
To validate a single task or doc (saves tokens):
// Validate single task
mcp_knowns_validate({ "entity": "abc123" })
// Validate single doc
mcp_knowns_validate({ "entity": "specs/user-auth" })
All built-in skills in scope must end with the same user-facing information order: kn-init, kn-spec, kn-plan, kn-research, kn-implement, kn-verify, kn-doc, kn-template, kn-extract, and kn-commit.
Required order for the final user-facing response:
Keep this concise for CLI use. Verification-specific content may extend the key-details section, but must not replace or reorder the shared structure.
Out of scope: explaining, syncing, or generating .claude/skills/*. Runtime auto-sync already handles platform copies, so this skill source only defines the built-in output contract.
For kn-verify, the key details should cover:
When verification reveals a clear follow-up, include the best next command. If the project is already healthy and no immediate workflow continuation is obvious, stop after the result and key details.
development
Use when generating code from templates - list, run, or create templates
testing
Use when creating a specification document for a feature (SDD workflow)
development
Use when reviewing implemented code before committing — multi-perspective review with severity-based findings
development
Use when you need to understand existing code, find patterns, or explore the codebase before implementation