
Create structured analyses with numbered findings, execution plans, and task materialization
List all available Rulebook skills, optionally filtered by category or enabled status. Use to discover what skills are available for the project.
Deep code review of recent changes or specified files
Language: Python
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
IDE: VS Code with Copilot, Cody, Continue, or other AI extensions
Show detailed information about a specific skill including metadata, content preview, and enabled status. Use to inspect a skill before enabling it.
Archive a completed Rulebook task to the archive directory with date prefix. Use after a task is fully implemented and validated.
List all Rulebook tasks with optional status filtering and archive inclusion. Use to check project tasks, progress, or find tasks by status.
Spec-driven task management for features and breaking changes using OpenSpec format. Use when creating new features, planning breaking changes, organizing development work, or managing project tasks with proposals and specifications.
Update a Rulebook task status. Use to mark tasks as in-progress, completed, or blocked.
Validate a Rulebook task format and structure against OpenSpec requirements. Use before archiving or to verify task quality.
All documentation in English. Root README concise, detailed docs in `/docs`.
OpenCode (open-source terminal coding agent by SST). Reads AGENTS.md natively. Rulebook generates opencode.json plus .opencode/commands, .opencode/agents, .opencode/skills.
Use Elasticsearch for full-text search, log aggregation, and real-time analytics with distributed architecture.
Tool: Code generation and automation
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Language: JavaScript
Use MongoDB for document-based NoSQL storage with flexible schemas, horizontal scaling, and rich querying.
Align all NestJS services, modules, and controllers with these conventions.
Use PostgreSQL for relational data storage with ACID compliance, transactions, and advanced features.
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Git workflow standards including branching strategy, commit conventions, and PR guidelines. Use when creating branches, writing commit messages, preparing pull requests, or following git best practices.
MCP server overview and integration guide. Use this for setup, configuration, and discovering available MCP tools for task and skill management.
Use MCP Rulebook server to manage tasks programmatically instead of executing terminal commands.
Enable a skill in the project configuration. Checks for conflicts with existing skills. Use to add new capabilities to the project.
Use MCP Vectorizer as primary data source for project information instead of file reading.
Tool: OpenAI code generation API
Output-verbosity compression. Cuts response tokens ~40-70% without losing technical accuracy. Four intensity levels (off/brief/terse/ultra) aligned with Rulebook's agent-tier system. Use when user says 'terse mode', 'be terse', 'less tokens please', or invokes /rulebook-terse. Auto-activates via SessionStart hook with tier-aware default.
Spec-driven task management for features and breaking changes with OpenSpec-compatible format
Diagnose and fix build failures or CI issues
Show complete details of a Rulebook task including proposal, checklist, design, and specs. Use to understand task requirements before implementation.
Vue 3 projects should follow these guardrails.
Language: Ruby
Generate or update project documentation based on recent changes
Run a security audit on the project (dependencies, secrets, OWASP)
Language: Dart
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Tool: Multi-IDE AI completion with team learning
IDE: AI-powered editor with Cascade AI and Flow State
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
The rulebook memory system provides persistent context across AI sessions using hybrid search (BM25 keyword + HNSW vector) with zero native dependenci
Use MCP Synap for persistent task and data storage across context windows.
Tool: Intelligent pair programming assistant
Tool: Open-source Copilot alternative (VS Code extension + CLI)
Tool: GitHub's AI pair programmer (inline + chat)
IDE: AI-first code editor with Agent mode and Composer
Tool: High-performance collaborative editor (Rust-powered)
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
These rules are NON-NEGOTIABLE and MUST be followed without exception.
Automated quality checks and enforcement for code commits. Use when validating code quality, running pre-commit checks, ensuring test coverage, or enforcing coding standards before commits and pushes.
Disable a skill in the project configuration. Removes its rules from the next AGENTS.md generation. Use to remove unwanted capabilities.
Validate the current skills configuration for conflicts, missing dependencies, and errors. Use to ensure skills are properly configured.
Permanently delete a Rulebook task. Cannot be undone. Prefer archiving completed tasks instead.
Create a new Rulebook task with standardized directory structure. Use when starting a new feature, breaking change, or architectural work that needs spec-driven planning.
Ultra-compressed code review comments. One line per finding: location, problem, fix. Use when user says 'review this PR', 'code review', 'review the diff', or invokes /rulebook-terse-review. Independent of the base rulebook-terse mode.
Architecture review, design decisions, and ADR writing
Plan and execute migrations (database, API, framework)
Angular projects must meet these standards before delivery.
Nuxt 3 applications must keep these standards to ensure SSR quality.
Language: TypeScript, JavaScript
Language: JavaScript, TypeScript
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Use Memcached for simple, high-performance distributed caching with minimal overhead.
Use DynamoDB for serverless NoSQL database with automatic scaling, high performance, and pay-per-use pricing.
Use Google Cloud Storage for object storage, file uploads, static assets, and backup storage in GCP.
Monitor CI/CD workflows after every `git push` using GitHub MCP.
Use MariaDB for MySQL-compatible relational database with enhanced features, performance improvements, and open-source licensing.
Use Kafka for high-throughput event streaming, real-time data pipelines, and distributed messaging with fault tolerance.
Use MySQL for relational data storage with high performance, replication, and wide ecosystem support.
Use Oracle Database for enterprise relational data storage with advanced features, high availability, and comprehensive tooling.
Use RabbitMQ for reliable message queuing, pub/sub messaging, and task distribution with multiple exchange types.
Use MCP Supabase for database operations, authentication, and storage.
Prepare deployment artifacts and verify CI/CD readiness
Systematic debugging workflow for bugs and test failures
React applications must comply with these quality bars.
Behavioral guidelines to reduce common LLM coding mistakes — overcomplication, sloppy refactors, hidden assumptions, weak goals. Use when writing, reviewing, or refactoring code. Auto-applies; invoke explicitly via /karpathy-guidelines or 'follow karpathy discipline'.
Language: TypeScript, JavaScript
Tool: TDD mode and intelligent refactoring
Use Azure Blob Storage for object storage, file uploads, static assets, and backup storage in Azure cloud.
Save session state to .rulebook/handoff/_pending.md for cross-session continuity
Use InfluxDB for time-series data, metrics, IoT data, and real-time analytics with high write throughput.
Tool: Cloud IDE with Ghostwriter AI
Explore codebase and gather context about a topic or area
Language: PHP
TypeScript language rules with strict mode, testing, linting, and CI/CD best practices
Tool: Cursor IDE automation and scripting
Mandatory workflow that AI agents MUST execute after EVERY implementation.
Tool: AI pair programming in terminal (`pip install aider-chat`)
Tool: AWS-focused AI assistant with security scanning
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Tool: Anthropic Claude API with 200K context window
Tool: Anthropic Claude Code CLI (`npm install -g @anthropic-ai/claude-code`)
Tool: VS Code extension with autonomous mode
Tool: Free AI coding assistant
Use MCP Context7 to access up-to-date library documentation before adding dependencies.
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Maintain a clean dependency graph (DAG) to prevent circular dependencies and ensure maintainable architecture.
Use MCP Figma for design system integration, asset export, and design-to-code workflows.
Language: Python
Tool: Google Gemini API with 2M token context
Use MCP Grafana for metrics visualization, alerting, and observability dashboards.
Tool: Lightweight coding companion
Performance analysis, profiling, and optimization
Use MCP Notion for documentation, task tracking, and knowledge management.
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Autonomous AI agent loop for iterative task implementation (@hivehub/rulebook ralph)
Use Redis for high-performance caching, session storage, pub/sub messaging, and real-time features.
Identify code smells and execute safe refactorings
Terse Conventional Commits generator. Subject ≤50 chars (hard cap 72), body only when 'why' isn't obvious, no filler. Use when user says 'write a commit', 'generate commit', 'commit message', or invokes /rulebook-terse-commit. Independent of the base rulebook-terse mode.
TypeScript development with strict mode, Vitest testing, ESLint linting, and CI/CD best practices. Use when working on TypeScript projects, writing tests, configuring linting, or setting up build pipelines.
Use AWS S3 for object storage, file uploads, static assets, and backup storage with high availability.
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Use MCP Serena for AI-powered development assistance, code analysis, and intelligent automation.
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Every Spring service must satisfy these quality gates before merge.
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Use SQLite for embedded databases, local storage, development, and small-scale applications with zero configuration.
Use SQL Server for enterprise relational data storage with advanced features, high availability, and Windows integration.
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Language: PHP
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Search for skills by name, description, or tags. Use to find skills matching specific requirements or technologies.
Use MinIO for S3-compatible object storage, self-hosted file storage, and development/testing with S3 APIs.
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Use Cassandra for distributed NoSQL database with high availability, linear scalability, and eventual consistency.
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Laravel services must respect these conventions and quality checks.
Accessibility audit for WCAG compliance and usability
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Use Neo4j for graph data modeling, relationship traversal, and complex connected data queries.
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
IDEs: IntelliJ, PyCharm, WebStorm, GoLand, RustRover, Rider, CLion, PhpStorm
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
Use MCP Atlassian for Jira issues, Confluence documentation, and Bitbucket repositories.
Database schema design, migrations, and query optimization
Use MCP Playwright for automated browser testing and web automation.
Author a rulebook task spec interactively — research, draft, ask the user clarifying questions, confirm, then create the tasks in rulebook ready for /rulebook-driver. Use when the user wants to plan/spec a feature before implementing.
Design or review API endpoints (REST/GraphQL)