Command Palette

Search for a command to run...

Назад к скиллам
скилл № 24070

doc

Document findings, research, or knowledge into ProductSpecification/ with proper cross-references. Use when the user wants to write up research results…

БесплатноБез исполняемых скриптов
rakovi4от rakovi4★ 54 звезды на GitHub

Установить doc в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

/doc - Document Findings

Capture knowledge from a session into a well-structured document under ProductSpecification/, with bidirectional cross-references to related specs, stories, and tasks.

Why This Exists

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.

Usage

/doc                              # Interactive — asks what to document
/doc "task ordering strategy"     # Topic hint

Workflow

Round 1: What and Where

Gather from user:

  1. 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.

  2. Where should it live? Propose a location based on the topic:

    • Existing folder (e.g., api-reference/) → add a new .md file or append to existing
    • New folder under ProductSpecification/ → create {topic-slug}/README.md
    • Inside a task folder (e.g., tasks/35-bug-.../research.md) → already scoped

    Decision 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.

  3. Filename: Propose based on content (e.g., research.md, README.md, {topic}.md). Confirm with user.

Round 2: Cross-References

Identify automatically, confirm with user:

  1. What should reference this doc? (inbound links)

    • Search for related story endpoints.md files, task spec.md files, and CLAUDE.md that would benefit from a link to this document.
    • Use Grep to find files mentioning the key concepts being documented.
    • Propose specific files and the line/section where the link should be added.
  2. What should this doc reference? (outbound links)

    • Scan the conversation for source materials: story interviews, task specs, external URLs, code files.
    • Search ProductSpecification/ for related existing docs.
    • List proposed references for user confirmation.

Present both lists to the user. They can add/remove entries.

Round 3: Write and Link

  1. Write the document with this structure:

    • Title and summary
    • Findings organized in tables and sections (prefer tables for structured data)
    • Links to source materials (outbound references from Round 2)
    • External URLs where applicable
  2. 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.

  3. Update indexes:

    • If a new folder was created → update ProductSpecification/CLAUDE.md structure tree
    • If the doc is in a task folder → no index update needed
  4. Commit all changes with message: docs: {short description}

Rules

  • All documentation in English (project convention)
  • Use relative paths for cross-references (../../tasks/35-bug-.../research.md)
  • Prefer tables for structured data (endpoints, permissions, field mappings)
  • Include external URLs where relevant (API docs, third-party references)
  • Don't duplicate content that already exists — link to it instead
  • Keep each document focused on one topic; create separate docs for separate topics
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл doc?

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".

Как установить скилл doc?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл doc запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить doc с