Appearance
Quick Start
Create your first AI-ready documentation in less than 5 minutes.
Basic Usage
Step 1: Run the Initialization Wizard
bash
paper-code initStep 2: Follow the Interactive Prompts
The wizard will ask you:
- Project Name: What is your project called?
- Project Type: Is it Frontend, Backend, Mobile, DevOps, or something else?
- Tech Stack: Which framework/language are you using?
- Libraries: Which libraries and tools are you using?
- Output Directory: Where should the docs be generated?
Step 3: Review Generated Files
PAPER-CODE will generate:
output/
├── README.md # Professional project README
├── CHANGELOG.md # Version history template
├── LICENSE # License file
├── SECURITY.md # Security guidelines
├── CONTRIBUTING.md # Contribution guidelines
├── .gitignore # Git ignore rules
├── .cursorrules # Cursor AI rules
├── docs/
│ ├── ARCHITECTURE.md # Architecture guide (stack-specific)
│ ├── CODE_STANDARDS.md # Coding standards for your stack
│ ├── TESTING.md # Testing strategies
│ ├── DEPLOYMENT.md # Deployment guide
│ ├── SECURITY.md # Security best practices
│ ├── ai/
│ │ ├── AI_CONTEXT.md # AI agent context
│ │ ├── AI_RULES.md # Rules for AI coding assistants
│ │ └── AI_WORKFLOWS.md # Recommended workflows
│ └── libs/
│ └── [library-specific docs]
└── .github/
├── workflows/
│ └── ci.yml # CI/CD workflow
└── PULL_REQUEST_TEMPLATE.md # PR templateExample: React + TypeScript
bash
$ paper-code init
🚀 PAPER-CODE - AI-Native Documentation Generator
Project Name: My React App
Project Type: Frontend
Tech Stack: React
Select Modules/Libraries:
[x] TypeScript
[x] TailwindCSS
[x] TanStack Query
[x] Zustand
[x] Jest
Output Directory: ./output
✨ Generated documentation successfully!Now your output/ directory contains a complete documentation suite tailored to React development.
Using the Generated Files
For Your Team
- README.md → Share with team and stakeholders
- CONTRIBUTING.md → Onboard new developers
- docs/ARCHITECTURE.md → Understand the project structure
- docs/CODE_STANDARDS.md → Follow coding conventions
For AI Coding Assistants
- Add
.cursorrulesto root of your project - Share
docs/ai/AI_RULES.mdwith your team - Use
docs/ai/AI_CONTEXT.mdin Cursor/Copilot chats
For CI/CD
- Use
.github/workflows/ci.ymlas a starting point - Customize for your repository
- Add to your GitHub Actions
Command-Line Options
Generate without interactive prompts:
bash
paper-code init \
--name "My App" \
--type frontend \
--stack "React" \
--libraries "TypeScript,TailwindCSS,TanStack Query" \
--output ./docsNext Steps
- Learn about Tech Stacks
- Explore Available Libraries
- Discover Advanced Features
- Check out Batch Mode for automation