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 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.
See how to installReview the instructions the agent will receive before you install.
User/host safety and tool contracts prevail. Diagnosis/review permits investigation only; changes stay in authorized scope. Prose is not runtime enforcement.
DEV-CLASS-01 (DEFAULT): classify before depth; reclassify growth. Decide discovery ownership before broad reads, even read-only.
| Class | Signals | Process |
|---|---|---|
| C0 | Text only; zero behavior change | Direct edit + smallest proof |
| C1 | One file, local behavior, no new abstraction | Fast path + focused check |
| C2 | Conventional product slice | Compact plan, adjacent conventions, focused tests, micro-audit |
| C3 | Module boundaries, shared types, broad behavior | PABCD depth by risk/persistence; subagent audit when warranted |
| C4 | Auth, payments, deletion, migration, release, permissions, security | Full PABCD, gates, durable risk/evidence |
| C5 | Ambiguity after one clarification round | Interview via pabcd; resolve/reclassify C0-C4 before build |
Tie-break: higher class wins (DEFAULT); route→service→storage remains C2. DEV-ESCALATE-01 (STRICT): security, deletion/migration, destruction, public contracts, release, permissions, new dependencies/frameworks promote the affected part to C4. Split it out; promotion alone requires no question.
C0/C1 skip convention/owner search and references unless explicitly routed; keep §3/4/5/static checks and visible conventions. Five lines is illustrative. Security/data-loss/new abstractions exclude this path; text-only edits do not escalate by location. C0 needs no numbered unit; C1 records change/reason/proof in existing units only. Never create units just for C0/C1; unit residence owns UNIT-RESIDENCE-01.
Safety/correctness/permissions/truthful proof are mandatory. Size/naming/layout/style are DEFAULT/STYLE_SAMPLE despite old MUST/HIGH labels unless a cited project/user contract binds them. Requested workflows keep phase/evidence; other unclassified rules are DEFAULT.
Mode: chat, PABCD, goal, scoped subagent, read-only (no writes), docs-only (consistency checks). Read pabcd/cxc-loop for mechanics; classify each work-phase. Docs-first: cxc-loop (LOOP-DOCS-FIRST-01).
Production: deployed to real users beyond the author; excludes prototypes/spikes/internal demos.
DEV-ROUTE-01 (STRICT): before writing, read every matching surface router SKILL.md; C0/C1 exceptions apply.
Read active SKILL.md fully; references only when applicable. Resolve a skill's relative links from that skill's directory, not the working directory. Truncation is incomplete even at exit 0: reread separately or in numbered contiguous, non-overlapping chunks through EOF; verify no gaps before acting.
| Change surface | Primary router | Also load |
|---|---|---|
| Backend / API / server | dev-backend | dev-security for auth/input |
| Frontend / UI / web | dev-frontend | dev-uiux-design for vague/open visual direction, UX-state meaning, IA, brand, concept gen |
| App database / OLTP / transactional schema | dev-backend | dev-security for access; dev-testing for migrations |
| Analytics / ETL / data quality / analytical backfills | dev-data | dev-backend for API integration |
| Tests / QA | dev-testing | dev-frontend for browser QA |
| Security / auth / secrets | dev-security | surface-specific router |
| Architecture / modules / deps | dev-architecture | dev-scaffolding for new structure |
| Debugging / crashes / perf / comprehending unknown systems | dev-debugging | surface-specific router; references/logic-analysis.md when no defect |
| DevOps / deploy / infra | dev-devops | dev-security for credentials |
| Native desktop: Tauri, AppKit/SwiftUI, WidgetKit, menu-bar/tray apps, embedded sidecars, signing/notarization, macOS approval prompts | dev-devops → references/native-desktop-acceptance.md and references/macos-system-approvals.md | dev-testing for suites and CI matrix; cxc-qa for gui/cli verdicts; dev-frontend for web-view UI; dev-security for entitlements and credentials; dev-debugging runtimes/swift.md |
| Scaffolding / docs / setup | dev-scaffolding | dev-architecture for boundaries |
| Code review | dev-code-reviewer | dev-security + dev-testing |
| Diagrams / charts / visual documents / reports / PDF composition | dev-visualizer | Available document-format owner for PDF/DOCX/Slides mechanics; dev-frontend and dev-uiux-design retain implementation/design ownership |
Attach dev+surface skills explicitly; search tasks also attach search and its policy. Use resolvable links or supported mentions/v1 items; hooks never infer omissions. Mappings: ownership; triggers: agents/openai.yaml.
Before broad reads, bound the question; delegate to configured explorer if independent and main has separate work. State scopes; host/no-delegation limits win. Record unavailability; read narrowly. Local lookup must determine next steps or be inseparable; explain substantial reads. Read-only/counts/parallelism do not justify them. Revisit on new subsystems/rereads/truncation; reclassify growth. Use a discovery packet; check needed spans, reassign named gaps before expanding, no routine re-investigation. Discovery replaces neither implementation delegation nor independent review. Isolation: dispatch surfaces; read-only leaves do not justify parallel writes. Authorized delegation needs no new approval. Model claims need runtime proof; cost compares main+child input/cache/output prices/tiers, not tokens.
kwrite and dev-visualizer REPORT-DESIGN-01.path:line; plans name paths/verifiers; proof includes command+output/artifact.| Claim | Requires | Insufficient |
|---|---|---|
| Tests pass | Expected tests executed; fresh zero failures | Old/absent/skipped/cancelled tests, assumptions |
| Build succeeds | Build exit 0 | Lint success |
| Bug fixed | Original symptom resolved | Edit alone |
| Feature complete | Every requirement checked | Tests alone |
| Subagent completed | Actual changes in VCS diff | Child report alone |
| Regression test works | Verified red→green | One passing run |
DEV-VERIFY-FLOOR-01 (STRICT): floor, not cap:
| Class | Floor |
|---|---|
| C0/C1 | C0 text consistency; C1 focused check, or observed repro with stated limits when automation does not fit |
| C2 | Integration/contract tests + build/typecheck + changed-UI smoke; CRUD negatives: dev-testing references/core/crud-test-matrix.md |
| C3 | Affected suites + public-contract/doc consistency |
| C4 | Full relevant gates + negatives + durable evidence |
Verify child success independently: diff and behavior.
C2+ supplied logs record change/reason/proof. C0/C1 follow §0.1; discovered logs create no duty. Explicit requests/release contracts bind named logs; no unrelated records.
neverthrow boundaries (dev-backend §3), otherwise try/catch with contextual logs.git -C <source>; hooks cannot see workdir. SHELL-SUBST-01/WORKTREE-GUARD-04 are narrow safeguards.Read matching rows; repo tools own local facts.
| When | Read |
|---|---|
| PR creation/review/merge, dependent delivery | Stacked PRs (DEV-STACK-06/07) |
| Method/repo requirement/strict trigger | Methodology overlays |
| C2 conventional slice | CRUD |
| C2+ implementation/new abstraction | Practice |
| Debug/comprehend | cxc-dev-debugging; no defect: its references/logic-analysis.md |
| Hosted CI | CI evidence (DEV-CI-EVIDENCE-01) |
| Questions | Async questions |
| Peer contact | Default-off; peer collaboration |
| Composition/projection/JS | Native execution |
| Browser proof/extraction/UI QA | Browser routing |
| Library behavior | Context7 resolve-library-id → query-docs; otherwise official docs |
| Current/public/HTTP evidence | cxc-search |
| Lost prior context | DEV-RECALL-01 (STRICT): cxc-recall chat+memory search; both miss: ask/report searches |
| Code smells | cxc-dev-code-reviewer §3; boundary errors: dev-architecture §4 |
| Types/static checks | Static analysis, gates |
| Lane observation | Waiting (DISPATCH-POLL-BUDGET-01) |
| Capability gap | Installed skills come from the host's skill list and these routers. DEV-SKILL-DISCOVERY-01 (DEFAULT): only for gaps, the external catalog via cxc skill search/show; built-ins win |
| Ownership | Ownership; update owner first |
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 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.
Use for debugging and system comprehension. Triggers: debug this, root cause, how does X work, reverse engineer, 왜 안 돼, 디버깅, 원인 분석, 로직 파악, 뜯어봐.
The English summary is being prepared. Showing the original description.