Agent skill

doc-organizer

Audit, restructure, and consolidate project documentation for clarity and maintainability. Use this skill when docs have grown organically and need reorganization, when duplicate content exists across files, or when documentation structure needs standardization.

Stars 1
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/s-hiraoku/synapse-a2a/tree/main/.agents/skills/doc-organizer

SKILL.md

Doc Organizer

Reorganize scattered documentation into a clear, maintainable structure with a single source of truth for every topic.

Workflow

  1. Audit -- Inventory all docs and classify their topics.
  2. Plan -- Propose restructuring (moves, merges, deletions). Present the plan for confirmation.
  3. Execute -- Apply the changes.
  4. Verify -- Cross-check links, terminology, and completeness.

1) Documentation Audit

Scan the repository for documentation files:

  • **/*.md, **/*.rst, **/*.txt in root, docs/, guides/, references/
  • Inline doc comments in config files (YAML, TOML, JSON)

For each file, record:

  • Primary topic and subtopics covered
  • Last meaningful update (git log)
  • Overlap with other files (flag duplicates)
  • References to code that may have changed (staleness candidates)

Output: a summary table of all docs with topic, location, staleness risk, and duplicate flag.

2) Structure Optimization

Canonical locations:

Content type Location
Project overview, quickstart README.md
How-to guides, tutorials guides/
Architecture, deep-dives docs/
API/CLI reference specs references/ or docs/reference/
Per-feature notes colocated with feature code

Propose a move plan as a table: current path -> target path -> action (move/merge/delete/keep). Present the plan and wait for user confirmation before executing.

3) Deduplication

  • Identify content repeated across multiple files.
  • Choose one canonical location; replace duplicates with a short summary and a link.
  • Prefer the more detailed version as the canonical source.

4) Terminology Normalization

  • Extract key terms from docs (project name variants, feature names, abbreviations).
  • Flag inconsistencies (e.g., "config" vs "configuration", "setup" vs "set up").
  • Apply the project's preferred terminology uniformly.

5) Navigation Improvement

  • Add or update a table of contents in long documents (>100 lines).
  • Add cross-links between related docs.
  • Ensure README.md links to all top-level guide and reference docs.
  • Create an index page (docs/README.md or docs/index.md) if multiple docs exist without one.

6) Staleness Detection

Compare documentation claims against the current implementation:

  • CLI flags/options mentioned in docs vs actual --help output or arg parser code.
  • Config keys documented vs keys in schema/defaults.
  • API endpoints documented vs route definitions.

Flag mismatches as "needs update" with the specific discrepancy.

Verification Checklist

  • No broken internal links (relative paths resolve correctly)
  • No orphaned docs (every doc reachable from README or index)
  • Terminology consistent across all files
  • Examples match current CLI/API behavior
  • Duplicate content eliminated (single source of truth per topic)

Expand your agent's capabilities with these related and highly-rated skills.

s-hiraoku/synapse-a2a

task-planner

Guide for decomposing large tasks into a structured plan with dependency chains, managing priorities, and distributing work across agents. Outputs plan cards or delegation messages as the team contract; TodoList for personal micro-steps.

1 0
Explore
s-hiraoku/synapse-a2a

react-performance

Comprehensive React and Next.js performance optimization guide. Covers waterfall elimination, bundle size reduction, server-side optimization, re-render prevention, and rendering performance. Use when building, reviewing, or optimizing React/Next.js applications for speed.

1 0
Explore
s-hiraoku/synapse-a2a

release

Update version in pyproject.toml, plugin.json, and add changelog entry. This skill should be used when the user wants to bump the version number and update CHANGELOG.md. Triggered by /release or /version commands.

1 0
Explore
s-hiraoku/synapse-a2a

api-design

Guide API design for REST, GraphQL, gRPC, and CLI interfaces. Use this skill when designing new APIs, reviewing existing API contracts, or establishing API conventions for a project. Produces consistent, well-documented API specifications.

1 0
Explore
s-hiraoku/synapse-a2a

pr-guardian

Continuously monitor a GitHub PR for merge conflicts, CI failures, and CodeRabbit review comments, then automatically fix any issues found. Polls every 5 minutes and loops until every check is green. Use this skill whenever a PR has just been created or code has been pushed to a PR branch — it should be the default follow-up action after any PR creation or push. Also trigger on: "watch this PR", "guard this PR", "monitor CI", "keep fixing until green", "PRを監視して", "CIが通るまで 直して", /pr-guardian. When a PostToolUse hook reports that a push or PR creation just happened, proactively invoke this skill to start monitoring without waiting for the user to ask.

1 0
Explore
s-hiraoku/synapse-a2a

post-impl2

Workflow: Test workflow with non-existent agent target. . Triggered by /post-impl2 command.

1 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results