execute-acpx
Installation
SKILL.md
Execute-Acpx
Core Protocols
- Claude remains responsible for verification and final delivery.
- Use English inside
acpxprompts. Reply to the user in their language. - Sanitize secrets before including file contents in any prompt file.
- Route once, then honor the route. Do not second-guess it mid-run.
Workflow
Phase 0: Read the Task
- If the argument is a file path, read it and extract the task, steps, and key files.
- Otherwise, treat the argument as the task description.
- Ask for clarification if the scope is ambiguous.
Phase 1: Gather Context
Read the relevant files and estimate the implementation scope before touching code.
Phase 2: Route by Change Size
Use this routing rule:
- Small change: touches at most 2 files, estimated implementation diff is at most 30 lines, and introduces no new abstraction or cross-cutting logic
- Large change: anything else
Announce the routing decision before implementation.
Route A: Small Change
- Implement locally with Edit/Write or sequential Task subagents when there are 3 or more independent implementation tasks.
- Run local verification.
- Launch
feature-dev:code-revieweron the resulting diff. - Fix accepted
CRITICAL/HIGHfindings, then re-run the reviewer as needed. - Ask the user whether to fix any remaining
MEDIUM/LOWfindings before delivery.
Route B: Large Change Through acpx
- Read
acpx-architect-role.mdfrom this skill directory. - Check whether
acpxis available.- If it is not, announce the fallback and use Route A instead.
- For a single large task, keep one named session such as
execute-main. - For 3 or more implementation tasks, assign one named session per task:
task-01,task-02, and so on. - For each acpx-driven task:
- ensure the session with
acpx --approve-all codex sessions ensure --name <session> - build a prompt file that starts with
acpx-architect-role.md, then appends the task, sanitized context, and verification expectations - run
acpx --approve-all --format json --json-strict codex -s <session> -f <prompt-file> - re-use the same session name for follow-up fixes or verification failures
- ensure the session with
- After each task, run
git diffscoped to that task plus the narrowest useful verification commands. - Launch
feature-dev:code-reviewerafter implementation finishes. - If reviewer feedback is accepted:
- single-session path: reuse the same acpx session and send the feedback verbatim
- per-task path: send each accepted fix batch back through the matching task session
- Ask the user whether to fix any remaining
MEDIUM/LOWfindings before delivery. - Close stale task sessions after completion.
Delivery
Report:
- chosen route
- files changed
- verification performed
- code-review result
- any deferred
MEDIUM/LOWfindings
Related skills