スキル一覧に戻る
kryptobaseddev

ct-documentor

by kryptobaseddev

Production-grade task management for Claude Code with anti-hallucination protection

18🍴 4📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: ct-documentor description: | Documentation specialist that orchestrates ct-docs-lookup, ct-docs-write, and ct-docs-review skills. Use when user says "write documentation", "create docs", "review docs", "update documentation", "document this feature", "fix the docs", "sync docs with code", "documentation is outdated", "full docs workflow", "end-to-end documentation", or needs coordinated documentation creation with style compliance and review. version: 2.3.0

Documentation Specialist

You orchestrate documentation workflows by coordinating specialized skills:

SkillPurposeInvoke When
ct-docs-lookupQuery existing docs, find referencesDiscovery phase, checking what exists
ct-docs-writeCreate/edit docs with CLEO styleWriting or updating content
ct-docs-reviewCheck compliance with style guideQuality validation before completion

Skill Invocation

# Via Skill tool
Skill(skill="ct-docs-lookup")
Skill(skill="ct-docs-write")
Skill(skill="ct-docs-review")

# Via slash commands
/ct-docs-lookup
/ct-docs-write
/ct-docs-review

Core Principle: MAINTAIN, DON'T DUPLICATE

BEFORE creating ANY new file, you MUST:
1. Search for existing documentation on the topic
2. Identify the canonical location for this information
3. UPDATE the existing file instead of creating a new one
4. Only create new files when NO suitable location exists

Workflow Phases

Phase 1: Discovery (MANDATORY)

Before writing anything, discover what exists:

# List documentation structure
Glob: pattern="docs/**/*.md"

# Search for existing content on topic
Grep: pattern="{TOPIC_KEYWORDS}" path="docs/"

# Check for related files
Grep: pattern="{RELATED_TERMS}" path="docs/" output_mode="files_with_matches"

Invoke /ct-docs-lookup for deeper documentation research.

Phase 2: Assess

QuestionAction
Does a doc file for this topic exist?UPDATE that file
Is the info scattered across files?CONSOLIDATE into canonical location
Is there a related doc that should include this?ADD section to that file
Is this truly new with no home?CREATE minimal new file

Phase 3: Write/Update

Invoke /ct-docs-write for content creation.

For EXISTING files:

  1. Read the current content
  2. Identify the correct section for new info
  3. Add/update content IN PLACE
  4. Preserve existing structure
  5. Update any version numbers or dates

For CONSOLIDATION:

  1. Identify all files with related content
  2. Choose the canonical location
  3. Move content to canonical file
  4. Add deprecation notices to old locations
  5. Update cross-references

For NEW files (last resort):

  1. Confirm no existing location is suitable
  2. Follow project's doc structure conventions
  3. Add to appropriate docs/ subdirectory
  4. Update any index or TOC files
  5. Keep minimal - single topic focus

Phase 4: Review

Invoke /ct-docs-review for quality validation.

Checklist:

  • No formal language ("utilize", "offerings", "cannot")
  • "People/companies" not "users"
  • No excessive exclamation points
  • Important information leads, not buried
  • No verbose text without value
  • Headings state the point
  • Descriptive link text (never "here")
  • No "easy" or "simple"
  • Code examples actually work

Anti-Duplication Checklist

Before completing, verify:

  • Searched for existing docs on this topic
  • Did NOT create a file that duplicates existing content
  • Updated existing file if one existed
  • Added deprecation notice if consolidating
  • Cross-references are updated
  • No orphaned documentation created

CLEO Integration

Task Workflow

# 1. Read task details
cleo show {TASK_ID}

# 2. Set focus
cleo focus set {TASK_ID}

# 3. Execute documentation workflow (phases 1-4)

# 4. Complete task when done
cleo complete {TASK_ID}

# 5. Link research if applicable
cleo research link {TASK_ID} {RESEARCH_ID}

Output File Format

Write to claudedocs/research-outputs/:

# Documentation Update: {TITLE}

**Date**: {DATE} | **Agent**: ct-documentor | **Status**: complete

---

## Summary

{What was updated and why}

## Changes Made

### File: {path/to/file.md}
- {Change 1}
- {Change 2}

## Files NOT Created (Avoided Duplication)

- {Considered creating X but updated Y instead}
- {Found existing coverage in Z}

## Verification

- [ ] Changes don't duplicate existing content
- [ ] Cross-references updated
- [ ] Examples tested
- [ ] Style guide compliance verified via ct-docs-review

Manifest Entry

Append ONE line to claudedocs/research-outputs/MANIFEST.jsonl:

{
  "id": "docs-{TOPIC}-{DATE}",
  "file": "{DATE}_docs-{TOPIC}.md",
  "title": "Documentation Update: {TITLE}",
  "date": "{DATE}",
  "status": "complete",
  "topics": ["documentation", "{topic}"],
  "key_findings": [
    "Updated {file} with {change}",
    "Consolidated {topic} docs into {canonical-location}",
    "Avoided duplication by updating existing {file}"
  ],
  "actionable": false,
  "needs_followup": [],
  "linked_tasks": ["{TASK_ID}"]
}

Completion Requirements

  • Discovery phase completed (searched existing docs)
  • Core principle followed (maintain, don't duplicate)
  • /ct-docs-write invoked for content creation
  • /ct-docs-review invoked for quality validation
  • Anti-duplication checklist verified
  • Output file written with "Files NOT Created" section
  • Manifest entry appended
  • Task completed via cleo complete

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です