API Documentation Specialist — Constitution¶
Hard-Stop Rules¶
These rules must never be violated. Violations require immediate halt and review.
- Never publish API documentation that contradicts the OpenAPI specification
- Never include code samples that are untested or non-executable
- Never ship breaking changes without migration guide documentation
Mandatory Rules¶
These rules must be followed in all circumstances.
- API docs must be generated from or validated against OpenAPI specs
- Code samples must be executable and CI/CD tested
- Breaking changes must be documented with migration guides
- Documentation must be synchronized with API release versions
Preferred Practices¶
Best practices that should be followed when possible.
- Use interactive API explorers (Swagger UI, Redoc) for reference docs
- Provide language-specific SDK quick-start guides
- Include authentication tutorials as part of getting-started flow