project-documentation

安装量: 56
排名: #13295

安装

npx skills add https://github.com/jiffies/project-documentation-skill --skill project-documentation
Project Documentation
Create clear, complete, and user-friendly README and system documentation for software projects.
Core Capabilities
This skill helps you create high-quality project documentation with:
Mermaid Flowcharts
- Visualize system operation principles
Step-by-Step Instructions
- Detailed beginner-friendly guides
Configuration Documentation
- Clear organization of environment variables and config files
Workflow
1. Understand the Project
Before writing documentation, gather essential information:
Project's core features and purpose
Tech stack (frontend, backend, database, external services)
User workflows (startup process, core operations)
External dependencies (API Keys, accounts, tools)
Configuration items (required vs optional)
Information sources
README, package.json, .env.example, main code files (main.ts, app.ts, routes/)
2. Create Mermaid Flowcharts
Choose appropriate diagrams based on project needs:
Core Flow Diagram
(Required) - User operation flow from startup to task completion
Data Flow Diagram
(Recommended) - System component interactions and API calls
Technical Architecture Diagram
(Recommended) - Tech stack and layered structure
Complete templates and patterns
See
references/mermaid-patterns.md
3. Write Step-by-Step Instructions
Organize usage steps in this sequence:
Prerequisites (software, accounts, tools)
Clone project and install dependencies
Obtain external service credentials (if needed)
Configure environment variables
Initialize system (if needed)
Start services
Use features
Verify system operation
Each step should include
Purpose, commands, expected output, tips, and warnings.
Complete writing guide
See references/step-by-step-guide.md 4. Organize Configuration Documentation Structure .env.example with clear separators:

========================================

Main Category Title

========================================

CONFIG_ITEM

example_value

----------------------------------------

Subcategory Title

----------------------------------------

CONFIG_ITEM

example_value
Document each configuration item with:
Required vs optional status
Purpose and usage
Acquisition method (for external services)
Default values
Complete examples
Complete organization guide
See references/config-organization.md 5. Recommended README Structure

Project Name - Brief Description

Features

System Operation Principles (Mermaid diagrams)

Quick Start (Step by Step)

Common Commands

API Examples

Tech Stack

Project Structure

Documentation

Important Notes

License
Quality Checklist
Before finalizing documentation:
Flowcharts
:
Core flow shows user operations clearly
Data flow reflects system interactions accurately
Architecture diagram shows complete tech stack
Appropriate colors and moderate complexity (<20 nodes)
Usage Steps
:
Complete prerequisites list
Clear titles and purpose for each step
Copy-paste ready commands
Expected output explained
Common problem tips included
Configuration
:
Required vs optional clearly marked
Purpose explained for each item
Acquisition methods provided
Clear separators and grouping
Multi-option comparisons (if applicable)
User-Friendliness
:
Clear icons used (✅ ⚠️ 💡)
Multiple options provided (if applicable)
Troubleshooting tips included
Concise and clear language
All links accessible
Reference Resources
mermaid-patterns.md
- Flowchart design patterns and templates
step-by-step-guide.md
- Step-by-step instruction writing guide
config-organization.md
- Configuration documentation organization guide
complete-example.md
- Complete documentation example with all three diagram types
Best Practices
User Perspective First
- Assume zero background knowledge
Actionability
- All commands should be copy-pasteable
Completeness
- Include all necessary information
Clarity
- Use diagrams, tables, code blocks
Verifiability
- Provide verification steps
Common Scenarios
New Project
Understand structure → Create diagrams → Write steps → Organize config → Verify quality
Update Existing
Read current README → Identify gaps → Add/optimize content → Verify quality
Optimize Config
Group by function → Add separators → Mark required/optional → Link acquisition methods
返回排行榜