Welcome to the PierceDesk documentation hub. This directory contains all project documentation organized into two main areas:
/system/ - Internal System Documentation
Internal documentation for development team, architects, and AI agents. Includes design documents, execution logs, test results, and system architecture.
When to use: Planning features, tracking implementation, documenting architecture, recording test results.
π Browse System Documentation
/user-docs/ - User-Facing Documentation
End-user documentation including feature guides, how-to tutorials, and API reference for PierceDesk users.
When to use: Creating user guides, documenting features for end users, writing help content.
π Browse User Documentation
| Document Type | Location | Purpose |
|---|---|---|
| Design Docs | system/design/ | Pre-implementation architecture and decisions |
| Execution Logs | system/execution/ | Implementation progress, test results, verification |
| As-Built Docs | system/as-builts/ | Current deployed state documentation |
| Implementation Plans | system/plans/ | Detailed phase implementation plans |
| Product Vision | system/vision/ | Product vision and goals |
| Roadmap | system/roadmap/ | Strategic planning documents |
| Document Type | Location | Purpose |
|---|---|---|
| Feature Guides | user-docs/features/ | What PierceDesk can do |
| How-To Guides | user-docs/guides/ | Step-by-step task instructions |
| API Docs | user-docs/api/ | Integration and API reference |
Format: {type}-{feature|phase}-{topic}.md
Examples:
design-phase1.1-crm-schema.mdexecution-phase1.2-auth-integration.mdas-built-crm-desk-mvp.mdINDEX-crm-desk-mvp.md
Prefixes: design-, execution-, as-built-, plan-, INDEX-, debug-, realign-
Format: {topic}-{subtopic}.md or {feature-name}.md
Examples:
getting-started.mdmanaging-contacts.mdcreating-opportunities.md
Rules: User-friendly, task-oriented, no technical prefixes
π Full User Docs Naming Rules
Each documentation area has its own AGENT.md file with detailed governance rules:
-
system/AGENT.md - System documentation governance
- Naming conventions
- Required frontmatter
- Folder organization
- Quality standards
- Document lifecycle
-
user-docs/AGENT.md - User documentation governance
- Writing style guidelines
- Screenshot standards
- Content structure
- Audience considerations
Document a new feature (internal)
- Create INDEX file:
cp .claude/templates/INDEX-template.md docs/system/INDEX-{feature}.md - Create design doc: Use
design-prefix indocs/system/design/ - Create execution doc: Use
execution-prefix indocs/system/execution/ - Follow Documentation Guide
Write a user guide
- Choose folder:
features/orguides/ - Follow User Docs Template
- Include screenshots and step-by-step instructions
- Review Writing Examples
Document architecture
- Create design doc:
docs/system/design/design-{feature}-{topic}.md - Include diagrams, decisions, trade-offs
- Link to INDEX if part of feature work
- Use Design Template
Record test results
- Add to execution doc:
docs/system/execution/execution-{phase}-{topic}.md - Include command output and screenshots
- Link test results to verification section
- Follow Execution Template
Available in .claude/templates/:
| Template | Purpose | Location |
|---|---|---|
| INDEX Template | Master feature tracking | INDEX-template.md |
| Phase Design | Pre-implementation design | phase-design-template.md |
| Phase Execution | Implementation log | phase-execution-template.md |
| As-Built | Current state documentation | as-built-template.md |
| Debug | Bug investigation | debug-template.md |
| Realignment | Plan changes | realignment-template.md |
- Evidence-based: Always include verification command output
- Cross-referenced: Link to INDEX, design, execution docs
- Version-controlled: Use YAML frontmatter with status tracking
- File:line references: Always include code locations
- User-focused: Written for non-technical end users
- Task-oriented: Focus on "how to" accomplish goals
- Visual: Include screenshots and examples
- Clear: Simple language, no jargon
- β System docs: Internal architecture, testing, execution
- β User docs: Feature guides, how-tos, user workflows
- β Never mix internal technical details in user docs
- β Never put user guides in system docs
1. Create INDEX β docs/system/INDEX-{feature}.md
2. Create Design Doc β docs/system/design/design-{phase}-{topic}.md
3. Create Implementation Plan β docs/system/plans/plan-YYYY-MM-DD-{topic}.md
4. Create Execution Doc β docs/system/execution/execution-{phase}-{topic}.md
5. Update As-Built β docs/system/as-builts/as-built-{feature}.md
6. Create User Guide β docs/user-docs/guides/{feature-name}.md
7. Create Feature Overview β docs/user-docs/features/{feature-name}.md
| Phase | System Docs | User Docs |
|---|---|---|
| Planning | INDEX, design docs | - |
| Implementation | Execution logs, plans | - |
| Testing | Test results in execution/ | - |
| Deployment | As-built docs | - |
| User Release | - | Feature guides, how-tos |
Before merging ANY feature:
- INDEX file complete and current
- Design docs have status and verification
- Execution docs include test evidence
- As-built reflects deployed state
- Code references include file:line numbers
- All YAML frontmatter valid
- Cross-references verified
- User-facing docs created (if applicable)
- Update as-built docs with current state
- Verify all links work
- Check screenshot currency (user docs)
- Review naming convention compliance
- Documentation health audit
- Consolidate duplicate content
- Archive completed/locked docs
- Update roadmap documents
- Aurora UI Template: https://aurora.themewagon.com/documentation/introduction
- Material-UI Documentation: https://mui.com/material-ui/getting-started/
- Supabase Documentation: https://supabase.com/docs
- Next.js Documentation: https://nextjs.org/docs
Questions about:
- System documentation: See system/AGENT.md
- User documentation: See user-docs/AGENT.md
- Templates: Browse
.claude/templates/ - Workflow: Read DOCUMENTATION-GUIDE.md
Last Updated: 2026-01-30 Structure Version: 2.0 Migration Date: 2026-01-30