Adversarial auditor for structural entropy, report-only. Global mode censuses the whole codebase from .deep-dive/ plus its own discovery pass; diff mode anchors on the changed files. TRIGGER WHEN: spawned by /abstraction-architect:audit, or as the abstraction dimension of /senior-review:team-review or…
Author, restructure, and evaluate the text that steers a model. TRIGGER WHEN: writing system prompts, designing agent instructions, or optimizing prompt performance for reliability and token efficiency.
Two-phase teardown of a rival product, platform auto-detected. TRIGGER WHEN: analyzing competitor apps, mapping app navigation, extracting design systems, or conducting UX audits on Android via ADB or on the web via Playwright MCP.
Hands-on developer that writes the code and reads MDN live when the bundled references fall short. TRIGGER WHEN: creating, debugging or publishing any Firefox extension, WebExtension or browser add-on, migrating Manifest V2 to V3, or fixing cross-browser compatibility.
Fractional CMO working Socratically, one phase at a time, against benchmarks. TRIGGER WHEN: the user needs SaaS business planning, go-to-market strategy, positioning, pricing strategy, market sizing, TAM/SAM/SOM, or product-market fit work. DO NOT TRIGGER WHEN: legal or compliance questions (use legal-advisor)…
Advise on technology law and risk, and draft the documents. TRIGGER WHEN: contracts, NDAs, terms of service, IP and copyright, employment law, M&A, corporate governance, regulatory compliance, legal risk assessment, or advisory memos. DO NOT TRIGGER WHEN: Privacy Policies, Cookie Policies, DPAs, or DPIA reports (use…
Draft and audit data-protection documents from a ROPA-driven model. TRIGGER WHEN: the user needs a Privacy Policy, Cookie Policy, DPA, consent notice, or DPIA under GDPR, ePrivacy, Codice Privacy, CCPA, LGPD, or FADP. DO NOT TRIGGER WHEN: general legal, contract, NDA, or IP questions (use legal-advisor); cookie…
Readability-only rewrite of existing source, behavior unchanged. TRIGGER WHEN: the user asks to clean up code, improve naming, remove AI-generated boilerplate, simplify structure, reduce complexity, or make code more maintainable. DO NOT TRIGGER WHEN: the target is prose or text (use text-humanizer).
Explores an unfamiliar project and writes .codebase-map/internal/context-brief.md from README, configs, package manifests, entry points, and directory structure. TRIGGER WHEN: spawned by the /codebase-mapper:map-codebase pipeline in Phase 1 to build the brief the writer agents consume. DO NOT TRIGGER WHEN: invoked…
Writes 10-configuration-guide.md (environment setup, configuration scenarios, common operations, troubleshooting) for the /codebase-mapper:map-codebase pipeline, from the context brief. TRIGGER WHEN: spawned by that pipeline in Phase 2. DO NOT TRIGGER WHEN: invoked outside it (there is no context brief in…
Rewrites technical docs into clear, scannable narrative. TRIGGER WHEN: documentation exists but reads like a wall of text or AI output. DO NOT TRIGGER WHEN: humanizing prose or articles rather than technical docs (use text-humanizer:text-humanizer), or generating new documentation from source code (use…
Documentation engineer for a single dimension or a whole project, generation or drift audit. TRIGGER WHEN: documenting APIs, data models, data flows, dependencies, architecture, or any of the 20 supported dimensions; restructuring existing docs; creating tutorials; auditing documentation drift against the codebase. DO…
Writes 05-workflows.md (user and system flows, with flowcharts and sequence diagrams) and 06-data-model.md (data structures, with ER diagrams) for the /codebase-mapper:map-codebase pipeline, from the context brief. TRIGGER WHEN: spawned by that pipeline in Phase 2. DO NOT TRIGGER WHEN: invoked outside it (there is no…
Reviews the 10 generated documents for consistency, adds cross-references, uniformizes tone, flags gaps and contradictions, and produces INDEX.md. TRIGGER WHEN: spawned by the /codebase-mapper:map-codebase pipeline in Phase 3, after all writer agents complete. DO NOT TRIGGER WHEN: invoked outside it (the 10 writer…
Writes 07-getting-started.md (developer onboarding steps) and 08-open-questions.md (knowledge gaps) for the /codebase-mapper:map-codebase pipeline, from the context brief. TRIGGER WHEN: spawned by that pipeline in Phase 2. DO NOT TRIGGER WHEN: invoked outside it (there is no context brief in .codebase-map/internal/ to…
Writes 09-project-anatomy.md (config files, environment variables, startup scripts, annotated directory tree) for the /codebase-mapper:map-codebase pipeline, from the context brief. TRIGGER WHEN: spawned by that pipeline in Phase 2. DO NOT TRIGGER WHEN: invoked outside it (there is no context brief in…
Writes 01-overview.md (project narrative with a mindmap diagram) and 02-features.md (feature catalog) for the /codebase-mapper:map-codebase pipeline, from the context brief. TRIGGER WHEN: spawned by that pipeline in Phase 2. DO NOT TRIGGER WHEN: invoked outside it (there is no context brief in .codebase-map/internal/…
Writes 03-tech-stack.md (technologies and dependencies) and 04-architecture.md (code organization and layers, with component diagrams) for the /codebase-mapper:map-codebase pipeline, from the context brief. TRIGGER WHEN: spawned by that pipeline in Phase 2. DO NOT TRIGGER WHEN: invoked outside it (there is no context…
Runs Flow Tracing and Semantic Understanding over one partition, reading every partition's structure and interface output so flows and contracts can cite cross-partition boundaries, and writing 03-flows.md and 04-semantics.md into its owned partition directory. TRIGGER WHEN: spawned by /codebase-xray:team-analyze in…
Runs Pattern and Risk Detection plus Documentation Health over one partition, writing 05-risks.md and 06-documentation.md into its owned partition directory (05 only in lite mode). TRIGGER WHEN: spawned by /codebase-xray:team-analyze in its second wave.
Runs Structure Extraction and Interface Analysis over one partition, writing 01-structure.md and 02-interfaces.md into its owned partition directory. TRIGGER WHEN: spawned by /codebase-xray:team-analyze in its first wave. DO NOT TRIGGER WHEN: outside that pipeline; /codebase-xray:analyze extracts structure inline…
Consolidates per-partition X-ray outputs into the standard 01..07.md layout in the run directory, adding cross-partition sections and a team-mode final report, byte-compatible with a classic single-agent run. TRIGGER WHEN: spawned by /codebase-xray:team-analyze in its consolidation phase. DO NOT TRIGGER WHEN: outside…
Phase 1b context builder whose output downstream reviewers, doc writers and drift hunters work against. Produces no verdicts of its own. TRIGGER WHEN: the user runs /team-review or /map-codebase, or explicitly asks to map contracts, invariants, domain rules, call graphs, or integration boundaries. DO NOT TRIGGER WHEN…
Formulate, encode, and deploy discrete decision engines for production use. TRIGGER WHEN: modeling scheduling, routing, assignment, bin-packing, or any constraint satisfaction / combinatorial optimization problem; using Google OR-Tools CP-SAT; needing symmetry breaking, search strategy tuning, or solver performance…