.claude/skills/doc/SKILL.md
Document findings, research, or knowledge into ProductSpecification/ with proper cross-references. Use when the user wants to write up research results, create a reference doc, consolidate scattered knowledge, or mentions /doc command. Also triggers on "document this", "write this up", "let's capture what we learned", "create a reference for".
npx skillsauth add rakovi4/continue-example docInstall 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.
Capture knowledge from a session into a well-structured document under ProductSpecification/, with bidirectional cross-references to related specs, stories, and tasks.
Research, API discoveries, and architectural findings get lost across conversations. This skill ensures knowledge is captured once, in one canonical location, with links from every document that needs it — so future sessions find the information without re-discovering it.
/doc # Interactive — asks what to document
/doc "task ordering strategy" # Topic hint
Gather from user:
What are we documenting? Summarize the findings in 1-2 sentences. If the current conversation already contains research/findings, extract the summary automatically and confirm with the user.
Where should it live? Propose a location based on the topic:
api-reference/) → add a new .md file or append to existingProductSpecification/ → create {topic-slug}/README.mdtasks/35-bug-.../research.md) → already scopedDecision aid: If the findings are specific to one task/story, keep them in that folder. If they're reusable across multiple stories or tasks, create a shared location.
Filename: Propose based on content (e.g., research.md, README.md, {topic}.md). Confirm with user.
Identify automatically, confirm with user:
What should reference this doc? (inbound links)
endpoints.md files, task spec.md files, and CLAUDE.md that would benefit from a link to this document.Grep to find files mentioning the key concepts being documented.What should this doc reference? (outbound links)
ProductSpecification/ for related existing docs.Present both lists to the user. They can add/remove entries.
Write the document with this structure:
Update referencing docs — add links in the files identified in Round 2 (inbound references). Use relative paths. Add links in contextually appropriate sections — don't just append to the end.
Update indexes:
ProductSpecification/CLAUDE.md structure treeCommit all changes with message: docs: {short description}
../../tasks/35-bug-.../research.md)testing
Run use-case module tests quickly. Use when user wants to run use-case tests or mentions /test-usecase command.
development
Generate BDD test specifications for story in 6 categories (API, UI, Load, Infrastructure, Security, Integration). Use when user wants to create test cases or mentions /test-spec command.
testing
Review tests to replace loose validation (contains, isNotNull, isNotEmpty) with strict validation (isEqualTo on parsed fields). Use when user wants to improve test assertions or mentions /test-review command.
development
Run frontend tests. Use when user wants to run frontend unit tests or mentions /test-frontend command.