The comprehensive instruction set for LLM coding agents working within the Cracking Shells organization.
This playbook provides standardized guidelines, workflows, and best practices that ensure consistency, quality, and efficiency across all repositories in the organization. It serves as the authoritative reference for AI coding agents to understand organizational standards and deliver high-quality contributions.
- Overview
- Quick Start for LLM Agents
- Instruction Categories
- Instruction File Organization
- How to Use This Playbook
- Contributing
The Cracking Shells Playbook is a living document system that defines:
- Development workflows for Git, testing, and code changes
- Documentation standards for technical writing and visual diagrams
- Reporting guidelines for analysis, implementation, and knowledge transfer
- Work ethics promoting thoroughness, persistence, and quality
- Organizational conventions ensuring consistency across projects
This playbook embodies the organization's commitment to:
- Quality over speed: Thorough analysis and implementation
- Documentation-driven development: Clear, comprehensive documentation
- Test-driven validation: Robust testing at all stages
- Systematic problem-solving: Root cause analysis over shortcuts
- Knowledge preservation: Comprehensive reporting and knowledge transfer
- Read this README to understand the playbook structure
- Review Work Ethics for core principles
- Study Git Workflow for commit and branching standards
- Understand Reporting Guidelines for documentation requirements
graph TD
A[Receive Task] --> B[Review Relevant Instructions]
B --> C[Create Analysis Report with Mermaid Diagrams]
C --> D[Get User Approval]
D --> E[Implement with Tests]
E --> F[Create Knowledge Transfer Report]
style C fill:#fff3e0
style F fill:#fff3e0
| Task Type | Required Reading |
|---|---|
| New Feature | Code Change Phases, Testing, Reporting |
| Bug Fix | Work Ethics, Testing, Git Workflow |
| Documentation | Documentation, Style Guide, Resources |
| Refactoring | Code Change Phases, Testing |
| Testing | Testing, Reporting |
The playbook is organized into specialized instruction files covering different aspects of development:
graph TD
Playbook[Cracking Shells Playbook]
Playbook --> Workflow[Workflow & Process]
Playbook --> Docs[Documentation]
Playbook --> Quality[Quality & Testing]
Playbook --> Ethics[Work Ethics]
Workflow --> Git[Git Workflow]
Workflow --> Phases[Code Change Phases]
Workflow --> Reporting[Reporting Guidelines]
Workflow --> Roadmap[Roadmap Generation]
Docs --> DocMain[Documentation Overview]
Docs --> Structure[Structure Standards]
Docs --> Style[Style Guide]
Docs --> API[API Documentation]
Docs --> Resources[Resources & Diagrams]
Docs --> MkDocs[MkDocs Setup]
Docs --> Tutorials[Tutorial Writing]
Docs --> README[README Standards]
Quality --> Testing[Testing Guidelines]
Quality --> Analytic[Analytic Behavior]
Quality --> Docstrings[Python Docstrings]
Ethics --> WorkEthics[Work Ethics Guidelines]
style Playbook fill:#e1f5ff
style Workflow fill:#fff4e1
style Docs fill:#e8f5e9
style Quality fill:#f3e5f5
style Ethics fill:#fce4ec
- git-workflow.md - Git commit standards, branching strategy, and version control
- code-change-phases.instructions.md - Structured approach to implementing changes
- reporting.instructions.md - Report creation, organization, and iteration
- roadmap-generation.instructions.md - Product roadmap and planning standards
- documentation.instructions.md - Master documentation guidelines and overview
- documentation-structure.instructions.md - Directory organization and file naming
- documentation-style-guide.instructions.md - Writing tone, language, and content standards
- documentation-api.instructions.md - API documentation with mkdocstrings
- documentation-resources.instructions.md - Mermaid diagrams (PRIMARY), images, and assets
- documentation-mkdocs-setup.instructions.md - MkDocs configuration and setup
- documentation-tutorials.instructions.md - Tutorial and guide writing
- readme.instructions.md - README file standards
- testing.instructions.md - Testing strategy, coverage, and best practices
- analytic-behavior.instructions.md - Analytical thinking and problem-solving
- python_docstrings.instructions.md - Python docstring standards
- work-ethics.instructions.md - Core principles of thoroughness, persistence, and quality
- Check the task type mapping in Essential Instructions by Task Type
- Review the
applyTofield in instruction file frontmatter - Read the relevant instruction files completely
All development follows: Analysis β Test Definition β User Approval β Implementation β Knowledge Transfer
Key Principles:
- Create reports for analysis, test definitions, and knowledge transfer
- Iterate on reports with user feedback before implementation
- Define tests before implementing
- Use Mermaid diagrams to visualize architecture, workflows, and data flows
From Work Ethics:
- Root cause analysis over shortcuts
- Systematic debugging with evidence-based validation
- Research-first approach before implementation
- Commit discipline with clear, focused commits
See Reporting Guidelines and Documentation Resources for detailed standards.
This playbook serves as an onboarding guide, reference documentation, and quality checklist for understanding organizational standards and working effectively with AI coding agents.
- Identify which instruction files need updates
- Ensure changes align with existing standards
- Update cross-references in related instruction files
- Test against existing repositories
- Document rationale for changes
All playbook updates must:
- β Follow the organization's own standards (dogfooding)
- β Include clear examples and use cases
- β Use Mermaid diagrams where appropriate
- β Maintain backward compatibility when possible
This playbook is licensed under the AGPL-3.0 License - see the LICENSE file for details.
Maintained by: Cracking Shells Organization Last Updated: 2025-11-07 Version: 1.0.0
For questions or suggestions, please open an issue in this repository.