skills/luongnv89/skills/docs-refactor

docs-refactor

SKILL.md

Workflow

1. Analyze Project

Identify:

  • Project type: Library, API, web app, CLI, microservices
  • Architecture: Monorepo, multi-package, single module
  • User personas: End users, developers, operators

2. Restructure Documentation

Root README.md - Streamline as entry point:

  • Project overview and purpose
  • Quickstart (install + first use)
  • Modules/components summary with links
  • License and contacts

Component READMEs - Add per module/package/service:

  • Purpose and responsibilities
  • Setup instructions
  • Testing commands

Centralize in docs/ - Organize by category (select applicable):

docs/
├── architecture.md      # System design, diagrams
├── api-reference.md     # Endpoints, authentication
├── database.md          # Schema, migrations
├── deployment.md        # Production setup
├── development.md       # Local setup, contribution
├── troubleshooting.md   # Common issues
└── user-guide.md        # End-user documentation

3. Create Diagrams

Use Mermaid for all visual documentation:

  • Architecture diagrams
  • Data flow diagrams
  • Database schemas

Guidelines

  • Keep docs concise and scannable
  • Adapt structure to project type (not all categories apply)
  • Maintain cross-references between related docs
  • Remove redundant or outdated content
Weekly Installs
1
GitHub Stars
1
First Seen
Feb 4, 2026
Installed on
openclaw1
opencode1
codex1
claude-code1