aidakit
Pre-aida development kit: while aida isn't ready, this plugin brings the full process to any project — guided architecture design, a spec-driven execution pipeline, document doctrine and governance with an active hook, and a searchable tool catalog.
📖 New here? Read the field guide / overview — the whole kit on one page (a visual version is at docs/overview.html).
🔬 Want the long look? Open the anatomy — an illustrated paper on how the kit actually works (the deterministic/intelligent split, the flow engine, the leashes, the limits), bilingual EN/PT with a switch at the top of the page.
Names updated in v0.3: roteiro → design, flow → build, next absorbed into build.
Precedence: this README summarizes and points. If it diverges from the doctrine (DOCS.md, GOVERNANCE.md, PROCESS.md) or from a plugin SKILL.md, the other wins and this file gets corrected.
Installation (in any project)
Clone this repo, then point the plugin marketplace at your local checkout:
git clone [email protected]:chacal88/aidakit.git
/plugin marketplace add /path/to/aidakit
/plugin install aidakit@aidakit
Replace /path/to/aidakit with wherever you cloned it.
The 4 layers
1. Architecture design — /aidakit:flow-design
A sequential 4-phase process with gates, inspired by "the domain drives the decisions; technology materializes them": 1 Business (goals, processes, rules, ubiquitous language) → 2 DDD Modeling (entities, value objects, aggregates, bounded contexts) → 3 Architecture (APIs, events, integrations, data; decisions become ADRs in docs/decisions/) → 4 Implementation (structure, stack, vertical changes — hands off the baton to the pipeline). Each phase is an interview (one question at a time), produces a document in docs/design/, and only advances with explicit approval. State lives in docs/design/STATE.md — you can close the session and resume weeks later.
2. Execution pipeline — aidakit:* skills
Each change runs through the canonical cycle: aidakit:flow-fast/aidakit:flow-full (the 1st step picks the next ready change) → aidakit:plan (plan-only: proposal/design/tasks/evidence) → aidakit:readiness (gate 1) → implementation with TDD → aidakit:test/aidakit:coverage → aidakit:review --diff (gate 2) → commit/PR. The kit stops at the PR URL; the human is the one who merges. The skills delegate to 5 agents with separate roles (author ≠ reviewer ≠ shipper): aidakit:orchestrator, aidakit:planner, aidakit:adr-reviewer, aidakit:spec-reviewer, aidakit:research. Repos with OpenSpec use openspec/changes/ and openspec/specs/; without OpenSpec, docs/features/<change-id>/ and docs/specs/. Full cycle reference in PROCESS.md.
- DOCS.md — standardized document architecture: canonical structure of
docs/, seven inviolable rules (ADR is WORM, every directory has an index, dated archive...), a placement decision tree, and the WORKING → DURABLE cycle. Every kit skill that creates a document obeys this file.
- GOVERNANCE.md — how agents work: permissive by design with exactly 3 escalations to the human (PR merge, superseding an ADR, going out of scope), everything via PR, separate roles, git and ship guardrails.
- ACTIVE
pre-bash hook — installed with the plugin, runs before every Bash command and mechanically blocks what GOVERNANCE.md §4 prohibits: git push --force, --no-verify, git add -A/., reset --hard, clean -f, branch -D, gh pr merge, among others. Philosophy: when in doubt, allow (fail-open).
- Conscious bypass — prefix the command with
AIDAKIT_BYPASS=1 (only with an explicit request from the human); the bypass is logged in .claude/.cache/aidakit-bypass.log with date and command, for retroactive review. Exception with no bypass: rm -rf at root/home never passes.
4. Catalog and archive — /aidakit:catalog
A grouped index of everything you have: this plugin's skills, agents, hooks, doctrine, installed official plugins, and the verified archive from the community mega-pack (loaded on demand, without weighing down the context). Ask "do I have something for X?" and it points you to the tool. Full catalog in skills/catalog/INDEX.md.
Authored skills