Rules for generating documentation for users and for AI.
- NEVER document features that don't exist in the codebase
- VERIFY EVERY CLAIM against actual implementation
- When in doubt, search the code before writing
- If you cannot find code evidence, DO NOT document it
- Assumption-based documentation is prohibited
- Standard WordPress knowledge does not apply to Disciple.Tools
- Write for non-technical users who need practical guidance
- Use clear, everyday language without jargon or technical terms
- Focus on what users need to accomplish their tasks
- Provide step-by-step instructions that anyone can follow
- Explain benefits and outcomes rather than how things work internally
- Assume users are new to the platform and need context
- Always start with how to access the feature
- Do not write "contact your administrator"
- Do not include sections for developers
- Do not add sections on how to get extra help
- Create markdown documentation that serves both human readers and AI consumption. Only text, no pictures or visualizations.
- Content should be explicit, self-contained, and contextually complete
- Structure content for retrieval augmented generation (RAG) systems
- Use only text-based explanations and instructions
- Each section must be understandable in isolation
- Include essential context within every section
- Avoid dependencies on linear reading paths
- Sections are retrieved based on relevance, not document order
- If information isn't explicitly documented, it doesn't exist for AI systems
- Include prerequisite steps within procedural content
- Define all acronyms and specialized terms
- Avoid implicit knowledge assumptions
- Document UI variations: Provide instructions for both mobile and desktop interfaces if they are different.
- Disciple.Tools is a custom application built on WordPress but with completely different user interfaces, workflows, and features
- Standard WordPress admin features (like wp-admin language settings, plugin management, user roles) may not be accessible or relevant to Disciple.Tools users
- WordPress documentation patterns do not necessarily apply to Disciple.Tools functionality
- Verify Disciple.Tools-specific implementation rather than assuming WordPress standard behavior
- Custom themes and interfaces mean that typical WordPress user experiences do not translate to Disciple.Tools
- Always spell as "Disciple.Tools" with a period between "Disciple" and "Tools"
- Never use "Disciple Tools" (without the period) in documentation
- Acceptable abbreviation is "D.T" (with period) when shortening is necessary
- Never abbreviate as "DT" (without period)
- Maintain consistent capitalization - "Disciple.Tools" not "disciple.tools" or "DISCIPLE.TOOLS" in body text
Use clear hierarchy of headings and subheadings to help AI systems understand relationships between sections:
Product/Platform Name
├── Feature Category
│ ├── Specific Feature
│ │ ├── Setup/Getting Started
│ │ ├── Configuration
│ │ └── Troubleshooting
│ └── Advanced Usage
└── Reference Materials
Rules:
- Use descriptive, meaningful headings that indicate function
- Maintain consistent hierarchy levels (H1 → H2 → H3)
- Include product/feature names in headings when relevant
- Ensure each section carries sufficient context to be understood independently
Keep headers simple and descriptive:
# [Clear, Descriptive Title]- Include product/feature names in content, not just headings
- Use consistent terminology across all documentation
- Establish consistent terminology for your product's unique concepts
- Include specific product or feature names when documenting functionality
- Keep related information in close proximity
- Include prerequisites within sections rather than referencing elsewhere
- Provide complete workflows within individual sections
- Front-load essential context in each section
Problem: Documentation that scatters key details across multiple sections Solution: Keep related information together within close proximity. When introducing a concept with important constraints, include those details in the same paragraph or immediately adjacent paragraphs.
Problem: Documentation that assumes user knowledge creates gaps Solution: Include prerequisite steps within procedural content rather than assuming prior setup. When referencing external tools or concepts, provide brief context.
Rules:
- All information must be conveyed through text
- Use numbered lists for step-by-step processes
- Use bullet points for feature lists and options
- Represent workflows as sequential text descriptions
- Include exact UI element names and menu paths in text
- Provide text equivalents for any visual information
- One topic per document unless closely related
- Logical file naming: use-descriptive-kebab-case.md
- Clear directory structure reflecting content hierarchy
- Consistent cross-references with meaningful link text
# Page Title (H1 - only one per document)
## Major Section (H2)
### Subsection (H3)
#### Details (H4)
**Bold** for emphasis and UI elements
*Italic* for introducing new terms
`Code` for technical terms and valuesInclude exact error messages to create direct matches between user queries and helpful content:
### Error: "Exact error message text here"
**Cause**: Why this error occurs
**Solution**: Step-by-step resolution
**Related Issues**: Links to similar problemsUse Q&A format that mirrors questions users often ask:
### How do I [specific user goal]?
Clear answer with complete steps.
**Related**: Links to related documentation