Last Updated: 2026-10-17 Version: 1.0.0 Repository: hoadh/rig
Rig is an Agentic-Driven Development (ADD) toolkit for building software with Claude Code (Antigravity through the generated .agent/ copy). It provides a complete development environment with AI-powered agent orchestration, automated workflows, and intelligent project management.
rig/
├── .claude/ # Claude Code configuration
│ ├── agents/ # Specialized agent definitions (14 agents)
│ ├── hooks/ # Context hooks, notifications, hook tests
│ ├── output-styles/ # Output style definitions
│ ├── rules/ # Workflow and development rules
│ ├── schemas/ # .rig.json schema
│ ├── scripts/ # Helper scripts
│ ├── skills/ # Specialized skills library (32 skills)
│ ├── metadata.json # Kit version and build date
│ ├── settings.json # Hooks, permissions, statusline
│ └── statusline.cjs # Statusline script
├── .agent/ # Antigravity copy (generated, see GEMINI.md)
├── .github/ # GitHub Actions workflows
│ └── workflows/ # CI/CD automation
├── docs/ # Project documentation (Diataxis layout, index: docs/README.md)
│ ├── tutorials/ how-to/ reference/ explanation/ # One Diataxis type per dir
│ ├── project/ # PDR, roadmap, changelog
│ └── research/ devlog/ assets/ # Not reader docs, left untouched
├── guide/ # User guides and references
├── plans/ # Implementation plans and reports
│ ├── reports/ # Agent-to-agent communication
│ └── templates/ # Plan templates
├── CLAUDE.md # Project-specific Claude instructions
├── README.md # Project overview
└── package.json # Node.js dependencies
- Node.js: >=18.0.0
- Package Manager: npm
- License: MIT (see
LICENSE)
- Repomix: Codebase compaction for AI consumption
- GitHub Actions: Automated release workflow
- Semantic Versioning: Automated version management
- Conventional Commits: Structured commit messages
Claude Code Agents (.claude/agents/):
planner.md- Technical planning and architecture (Opus model)researcher.md- Research and analysisimplementer.md- Implements plan phases (backend, frontend, infra)code-reviewer.md- Code quality assessmenttester.md- Testing and validationdebugger.md- Issue analysis and debuggingdocs-maintainer.md- Documentation managementgit-operator.md- Version control operationsdevlog-writer.md- Devlog entries: shipped work, decisions, lessonsbrainstormer.md- Solution ideationprogress-tracker.md- Progress tracking against plansui-ux-designer.md- UI/UX designmcp-runner.md- Runs MCP tools outside the main context (Gemini CLI first)code-simplifier.md- Code optimization and simplification
Core Development Commands:
/rig:plan- Research and planning/rig:implement- Feature implementation/rig:test- Test execution/rig:brainstorm- Solution ideation/rig:debug- Issue debugging/rig:fix- Bug fixes
Skill Directories (.claude/skills/):
docs/- Documentation workflowsrig-plan/- Planning workflowcode-review/- Code review workflowstest/- Testing workflows
Organized Groups (Progressive Disclosure):
- UI Styling (
ui-styling/) - shadcn/ui, Tailwind CSS v4- 7 references, 2 Python utilities
Current Skills (32 Total, plus the common/ shared library):
- media, brainstorm, browser, code-review, context-engineering
- implement, diataxis-writer, docs, library-docs, fix, git, devlog
- markdown-viewer, mcp, mermaidjs-v11, problem-solving, visualize
- progress, project-organization, research, rig-debug, rig-plan
- explore, pr, sequential-thinking, create-skill, team, test
- ui-styling, ui-design, worktree
- remote (multi-machine plans over ssh;
scripts/remote.cjsorchestrator,scripts/worker.cjsworker; see how-to)
Location: .claude/hooks/
Rig uses four hooks. Permission checks, naming rules and usage display use native features (see system components).
| Hook | Event | Purpose |
|---|---|---|
session-init.cjs |
SessionStart | Exports Rig session vars and paths (RIG_SESSION_ID, RIG_ACTIVE_PLAN, RIG_REPORTS_PATH, RIG_PROJECT_ROOT, RIG_GIT_BRANCH, ...) |
subagent-init.cjs |
SubagentStart | Injects dynamic Rig context (paths, plan context, naming) into subagents |
team-context-inject.cjs |
SubagentStart | Injects agent team context (peers, tasks) |
dev-rules-reminder.cjs |
UserPromptSubmit | Injects a short ## Rig Session block: date, paths, plan context, naming |
Hook Features:
- Fail-Safe: hooks exit 0 (non-blocking) - graceful degradation
- Small output: only dynamic facts are injected; static rules stay in
.claude/rules/ - Cross-Platform: Node.js
.cjsscripts run on Windows and Unix - Tests:
npm testruns every hook test file viascripts/run-hook-tests.cjs
Native replacements:
- Sensitive files and heavy directories:
permissions.ask/permissions.denyin.claude/settings.json - File naming:
.claude/rules/development-rules.md - Context usage: statusline reads
rate_limitsfrom stdin
Primary Workflows (.claude/rules/):
-
primary-workflow.md: Core development cycle
- Code implementation
- Testing
- Code quality
- Integration
- Debugging
-
orchestration-protocol.md: Agent coordination patterns
- Sequential chaining
- Parallel execution
-
development-rules.md: Development standards
- File size management (<500 lines)
- YAGNI, KISS, DRY principles
- Code quality guidelines
- Pre-commit/push rules
-
documentation-management.md: Doc maintenance
- Roadmap and changelog updates
- Automatic update triggers
- Documentation protocols
- README.md: Project overview and quick start
- guide/SKILLS.md: Comprehensive skills reference
- CLAUDE.md: Development instructions and workflows
- package.json: Dependencies and scripts
- .gitignore: Version control exclusions
- CLAUDE.md: Primary agent instructions
- .claude/rules/: Development rules and protocols
Avoid over-engineering and unnecessary features
Prefer simple, straightforward solutions
Eliminate code duplication
- Keep files under 500 lines
- Split large files into focused components
- Extract utilities into separate modules
- Try-catch error handling
- Security standards coverage
- No secrets in commits
- Confidential info protection
Report Format: Markdown files in ./plans/<plan-name>/reports/
Naming Convention: {date}-from-[agent]-to-[agent]-[task]-report.md
Communication Patterns:
- Sequential: Task dependencies require ordered execution
- Parallel: Independent tasks run simultaneously
- Query Fan-Out: Multiple researchers explore different approaches
Commit Message Format: Conventional Commits
type(scope): description
Types:
- feat: Features (minor bump)
- fix: Bug fixes (patch bump)
- docs: Documentation (patch bump)
- refactor: Code refactoring (patch bump)
- test: Tests (patch bump)
- ci: CI changes (patch bump)
- BREAKING CHANGE: Major version bump
Automated Release:
- Every push to
maintriggers release check - Semantic versioning (MAJOR.MINOR.PATCH)
- Automated changelog generation
- GitHub releases with generated notes
- Comprehensive unit tests required
- High code coverage mandatory
- Error scenario testing
- Performance validation
- Tests must pass before push
- No ignoring failed tests
Required Docs (./docs/, Diataxis layout, see .claude/skills/docs/references/diataxis-docs-layout.md):
README.md- Docs index grouped by typeproject/overview-pdr.md- Project overview and PDRreference/code-standards.md- Coding standards and structurereference/codebase-summary.md- This fileexplanation/architecture.md- Architecture documentationproject/roadmap.md- Development roadmapproject/changelog.md- Detailed changelog
Documentation Triggers:
- Feature implementation completion
- Major milestone achievements
- Bug fixes
- Security updates
- Weekly reviews
None (template project)
None (tests run with plain Node)
Script: .claude/hooks/notifications/notify.cjs + providers/ (discord, slack, telegram)
Purpose: Optional Stop hook that posts session updates to Discord, Slack or Telegram
Workflow: .github/workflows/antigravity-sync-check.yml
Features: Fails when .agent/ or GEMINI.md drift from .claude/
- sequential-thinking, problem-solving: Structured reasoning
- library-docs: Library documentation lookup
- media: Image, video and document analysis and generation
package.json- Node.js config.gitignore- Git exclusions.repomixignore- Repomix exclusions
README.md- Main project docsCLAUDE.md- Agent instructionsCHANGELOG.md- Version historyguide/SKILLS.md- Skills reference
.claude/rules/primary-workflow.md.claude/rules/development-rules.md.claude/rules/orchestration-protocol.md.claude/rules/documentation-management.md
Current: v1.0.0 (released 2026-10-17), see CHANGELOG.md
License: MIT (see LICENSE)
Author: Alex Dang
Repository: https://github.com/hoadh/rig
None identified. All core components are well-documented and functional.