cxc-ast-grep
FreeUse for AST search and codemods. Triggers: ast-grep, sg, function/call/class/import, empty catch, missing await, YAML rules.
The English summary is being prepared. Showing the original description.
Use for Plan-Audit-Build-Check-Done work. Triggers: PABCD, plan this, 기획, 단계별로, 요구사항 정리.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
PABCD keeps session state and a transition ledger. Before state control, read Phase control for commands, bindings, artifacts, attestations and state files (SESSION-IDENTITY-01, ORCH-ARTIFACT-01, ATTEST-SHAPE-01).
Loading grants no execution authority; explicit limits win. cxc-dev owns class, fast path, reading, proof and safety; cxc-loop owns HOTL activation.
IDLE -> P -> A -> B -> C -> D -> IDLE
any phase -> I -> P
I preserves plan/audit context and needs HITL with no active goal. Interactive P/A/B pause for confirmation; C/D proceed after their work. Goal-mode cycles explicitly enter P through phase control.
Read the mandatory owner before its work.
| Phase / trigger | Work and mandatory owner |
|---|---|
| I | Clarify requirements: cxc-interview. Hints do not enter phases. |
| P, including plan-only | Explore and plan without implementation: Plan phase owns consultation, dependency order (PHASE-SPLIT-01), scope and verifiers. C2+ reads Plan output. |
| A, if authorized | Audit, resolve/rebut blockers and re-audit to pass/justified near-pass: Audit phase. |
| B | Implement audited scope, verify and surface deviations; cxc-dev owns git (DEV-GIT-COMMIT-01, DEV-GIT-PUSH-01); declared stacks read Stacked PRs (DEV-STACK-02). |
| C | Fresh relevant proof and source-of-truth sync: Check phase. |
| D | Record conclusion, changes and evidence; update STATUS/devlog, apply cxc-dev git rules, resolve this work-phase's pending work and close to IDLE. Read Reader documents (READER-DOC-02/04). |
| P/A defining render/conditional checks | Read Check phase above for reachable activation and observable evidence. |
LOOP-PESSIMIST-01 (DEFAULT): for loop/multi-pass D, record what did not improve, which hypothesis died and what evidence would refute the direction.
A work-phase is an outcome slice; a PABCD phase is one letter. Perform a full P→A→B→C→D cycle per work-phase, close D to IDLE, then start next P. Never batch work-phases' B steps or close directly from B. A transition is not its artifact; real loops cannot skip phases. cxc-dev owns C0/C1 exceptions.
Continuation, new units (LOOP-UNIT-CHAIN-01) and previous-D handoff (LOOP-CONTINUITY-01) follow cxc-loop. PLAN-TRACK-01 (DEFAULT): when available, mirror progress in native update_plan; the durable plan remains authoritative.
Before C2+ unit planning or multi-phase roadmaps, read Implementation units (DIFFLEVEL-ROADMAP-01, LEXICO-SPLIT-01, UNIT-RESIDENCE-01); cxc-loop owns docs-first entry.
cxc-dev owns class definitions and tie-breaks. PABCD depth per class:
| Class | Plan (P) | Audit (A) | Build (B) | Check (C) | Record (D) |
|---|---|---|---|---|---|
| C0-C1 | None/inline | Optional | Direct fix | Smallest proof | cxc-dev: C0 exempt; C1 only in an existing owning unit |
| C2 | Compact | Micro-audit | Implement + focused tests | Targeted gate | Summary |
| C3 | Compact/full by persistence/risk | Required for public contract, architecture, persistence or cross-session risk; otherwise focused | Implement; reviewer when useful | Affected suites + contract docs consistency | Summary + evidence; durable if state must persist |
| C4 | Full, mandatory | Independent reviewer required | Implement + independent verification | Full relevant gates | Durable risk/approval/evidence |
| C5 | Interview/research first | — | — | — | Reclassify before implementation |
Before dispatch, read Dispatch surfaces for leaf/task isolation and grants, then Delegation for subagents. cxc-dev owns skill attachments and peer contact; explicit limits win.
Repeated repairs, reviewer FAIL or archetype selection read Loop engineering (LOOP-REPAIR-01, LOOP-DOOM-01, REVIEW-SYNTHESIS-01). Optimization/comparison/plateaus also read Optimization. Composition, response projection and computation read Native execution.
Interview sub-modes and option discovery follow cxc-interview (INTERVIEW-CATALOG-01, CATALOG-DESIGN-FIRST-01); the option ontology is Catalog schema.
Resolve the actual target repository root before planning and resolve relative source/test paths against it; clarify an ambiguous root before proceeding.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Use for AST search and codemods. Triggers: ast-grep, sg, function/call/class/import, empty catch, missing await, YAML rules.
The English summary is being prepared. Showing the original description.
Use for coding, PR delivery, scaffolding and QA. Triggers: develop, fix, refactor, test, review, docs, browse, stacked PR, 개발, 수정, 검토, 스택 PR.
The English summary is being prepared. Showing the original description.
Use for module boundaries and dependencies. Triggers: circular import, coupling, barrel, re-export, validation placement, 모듈 경계, 순환 참조.
The English summary is being prepared. Showing the original description.
Use for APIs, servers and app databases. Triggers: REST, GraphQL, migration, query optimization, middleware, caching, queues, 백엔드, API 작업, 마이그레이션, 쿼리 최적화.
The English summary is being prepared. Showing the original description.
Use for code/PR/diff review and refactor audits. Triggers: review this, before merge, antipattern, 리뷰, 코드 리뷰, 머지 전에 확인.
The English summary is being prepared. Showing the original description.
Use for analytics and data pipelines. Triggers: ETL, ELT, data quality, SQL optimization, schema drift, backfill, 데이터 파이프라인, 데이터 품질, 백필.
The English summary is being prepared. Showing the original description.