goal/SKILL.md
Goal execution guidelines with PABCD integration, verification tiers, documentation workflow, and AI-driven planning
npx skillsauth add lidge-jun/cli-jaw-skills goalInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guidelines for AI-driven goal work within cli-jaw. Applies when a goal is active via /goal or cli-jaw goal set, and especially when using /goal plan for AI-driven goal formulation.
/goal "objective")User provides the objective directly. AI executes following these guidelines. The objective is taken verbatim as the goal.
/goal plan "objective")AI analyzes the user's intent and formulates a specific, long-term executable goal. The user's input is a direction, not the final objective.
Planning Process (fully autonomous — no user confirmation step):
Every goal should be executable through the P-A-B-C-D orchestration cycle:
When a goal is active, it supersedes PABCD phase gates for autonomous execution. Phase transitions are mandatory shell commands (cli-jaw orchestrate A/B/C/D), not status text. "Supersedes gates" means no user wait — it does NOT mean skip P/A/B/C/D or merge work-phases into B. The evidence attestation (--attest) is still required in goal mode: it is proof-of-work, not a user-approval wait, so each forward transition must carry a real {"from","to","did"} (C→D also checkOutput/exitCode).
Multi-phase / loop goals: each sub-goal / work-phase = one FULL PABCD cycle (P→A→B→C→D). After D (state → IDLE), run cli-jaw orchestrate P to start the next work-phase; repeat until the objective is met. Never run B for several work-phases back-to-back. A "loop"/"루프" goal is multi-pass: pre-plan the full slice map and WRITE all per-phase decade docs to diff-level up front (DIFFLEVEL-ROADMAP-01) — scaffolding empty stubs is not pre-planning. It may open with a design-only PABCD pass (Phase 0) before the first implementation work-phase. Faithfully execute each PABCD-phase — never rubber-stamp a phase to advance.
Documentation is required throughout the goal lifecycle:
devlog/_plan/<YYMMDD_topic>/ using decade numbering:
cli-jaw goal update "<summary>" --evidence "<path>" at every milestoneScale verification effort to change complexity (adapted from harness verification-tiers pattern):
| Tier | Criteria | Who Verifies | Evidence Required | |------|----------|--------------|-------------------| | LIGHT | <5 files, <100 lines changed | CLI sub-agent | LSP diagnostics clean | | STANDARD | Default for mid-size changes | jaw employee dispatch | Diagnostics + build pass | | THOROUGH | >20 files OR security/architectural changes | jaw employee (full review) | All tests pass + independent code review |
Tier Selection Logic:
Override Triggers:
Adapted from the ultragoal pattern:
cli-jaw goal updatecli-jaw goal pause --agent --audit "<review summary>"[System] User set a new goal: "<objective>" (ID: <id>). Acknowledge the goal and help the user achieve it.
[System] User requested AI-driven goal planning: "<objective>" (ID: <id>).
Do NOT execute the objective directly. First ANALYZE, then EXECUTE AUTONOMOUSLY:
1. Context Scan -> 2. Scope Analysis -> 3. Dependency Map -> 4. Risk Assessment -> 5. Sub-goal Decomposition -> 6. Execution Plan
After analysis, immediately refine the goal objective and enter PABCD orchestration.
Do NOT wait for user confirmation. Execute the full goal autonomously.
tools
Use only on the Codex CLI for native image generation or image editing without an API key. Save final PNG files under ~/.cli-jaw/uploads, report web-ready absolute-path markdown, and send to Telegram or Discord only when explicitly requested.
tools
Ranked repository structure map via `cli-jaw map`. Use for codebase overview, structure map, symbol overview, unfamiliar codebase exploration, architecture orientation. Triggers: repo map, structure map, codebase overview, 와꾸, project structure, unfamiliar code.
tools
cli-jaw Design workspace: create, preview, run, and export design pages from the right sidebar. Covers panel UX, direct-write workflow, artifact lifecycle, wireframe generation, design system, and Open Design adapter.
development
MUST USE for infrastructure and delivery work — container builds, deploy pipelines, Kubernetes, Infrastructure as Code, SRE foundations, edge/serverless, ML infrastructure. Triggers: Dockerfile, K8s manifests, CI/CD pipeline, Terraform/IaC, release/deploy, devops/infra/deploy or release_cd task_tags.