Read CLAUDE.md first. The only additional guidance here is specific to Codex sandbox execution.
Run ace-* commands directly.
ace-* commands are already optimized for agentic execution. Run them directly and do not wrap or transform their terminal output.
- MUST invoke directly:
ace-... - MUST NOT use shell output manipulation on
ace-*invocations:- pipes:
|,|& - redirects:
>,>>,2>,&> - post-processors:
head,tail,grep,awk,sed,tee,xargs - command substitution/backgrounding:
$(), backticks, trailing&
- pipes:
- MUST read referenced output files directly when an
ace-*command prints a path (for example.ace-local/bundle/project.md) - MUST NOT create extra temp capture files for
ace-*output (including in/tmpor.cache) unless user explicitly asks for export/logging - If a violation happens, rerun the command in compliant form immediately and continue from the canonical output
When user requests a scoped commit/release:
- Do not revert unrelated working-tree changes.
- Use path-scoped commit commands, e.g.
ace-git-commit <path1> <path2> .... - Treat unrelated modified files as acceptable background state unless user explicitly asks to clean/revert them.
If a user names a skill (for example /as-github-pr-create) or the task clearly matches an available skill, that skill is mandatory and takes precedence over ad-hoc/manual flow.
Before drafting or finalizing any substantial plan:
- Match named or clearly relevant skill(s)
- Load each selected skill's
SKILL.md - Load referenced workflow/guidance resources (
wfi://,guide://,tmpl://) when available - Decide per skill:
- Load-only mode: use skill/workflow knowledge to shape the plan without running the full workflow
- Run mode: execute the full skill workflow when that produces better planning artifacts or validates assumptions
- Include a short
Skills Appliedsection in the plan:Loaded:skills/resources read for planningExecuted:workflows actually run (ornone)Why not executed:brief reason when a relevant skill stayed load-only
Planning fail-closed rule:
- A substantial plan is incomplete if a clearly relevant skill was not loaded.
- If discovered later, stop and re-plan from skill-informed context.
Before any non-read command:
- Run a quick skill check and list candidate skills
- Load selected
SKILL.mdinstructions - Run selected skill workflow(s) as primary path
- Use manual commands only when:
- no applicable skill exists, or
- a skill is unavailable/blocked
- If manual fallback is used, state the reason briefly in status updates.
Execution violation recovery:
- If manual execution starts and a matching skill is identified later:
- stop manual flow
- run the matching skill workflow
- continue from skill outputs as source of truth
When creating temporary files (debugging output, environment captures, test artifacts):
- Do NOT write temporary files to the project root directory
- DO use one of these locations:
/tmp/- For system temporary files.ace-local/<subfolder>/- For project-specific cached data (e.g.,.ace-local/test-e2e/)
This prevents accidental commits and keeps the repository clean.
ace-testandace-test-suiteare allowed by default when applicable.