roles/codex/files/skills/intent/SKILL.md
Extract the underlying intent behind a request, issue, PR, or diff. Focus on problem and desired outcome; do not propose implementation, testing strategy, or rollout plans.
npx skillsauth add techdufus/dotfiles intentInstall 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.
Identify what the author is trying to accomplish, even when proposed code quality is weak.
Accept any of:
Optional controls (soft extensions):
context_budget: minimal | standard | broad (default standard)external_findings: prior findings, review notes, or claim lists to reconcilealignment_check: true | false (default false) or explicit natural-language requestpr_body_draft: true | false (default false) or explicit natural-language requestpr_body_style: concise | standard | detailed (default standard)Consider a control "requested" when either:
If a URL is provided and gh is available, fetch only the context needed for the selected budget.
context_budget.minimal: prompt plus one primary artifact (issue body, PR description, or diff summary)standard: add linked issue/PR context, diff direction, and recent discussion/review commentsbroad: add related artifacts that could materially change intent inferenceexternal_findings item as a claim, not ground truth.valid | partially_valid | invalid | unverified.For general intent requests, return exactly these seven sections in this order:
high | medium | low) + one-line rationaleWhen requested, use one of:
default + extension(s): keep sections 1-7 unchanged, then append extension block(s).
extension-only: return only requested extension block(s) when the user explicitly asks for only alignment validation or only PR body drafting.
Alignment check: include
Intent BaselineAlignment Verdict (aligned | partially_aligned | misaligned)Claim Validation Table with columns: Claim | Status | Evidence | Impactvalid | partially_valid | invalid | unverifiedGaps vs IntentConfidence (high | medium | low) + one-line rationaleMissing Inputs (max 5 bullets)PR body draft: include
Proposed PR Body (lead with intent; keep implementation detail secondary)Applied? (no by default)Target URL and Fields ChangedReturn Missing inputs first, then provide a provisional intent draft with explicit assumptions.
testing
Preparing and creating git commits when explicitly requested; covers staged diff review, secrets checks, and conventional commit messages.
testing
Verifying implementation work before claiming completion; covers tests, affected artifacts, evidence, and unresolved risks.
testing
Aggressively remove grammatical scaffolding LLMs reconstruct while preserving meaning-carrying content. Output may be fragments. Use when compressing text for prompts, reducing token count, preparing context for LLM input, or making documentation more token-efficient. Applies LLM-aware compression rules that delete predictable grammar while preserving semantics.
testing
Use when the user explicitly invokes $work or asks for execution strategy for complex engineering work with unclear scope, dependent steps, or separable workstreams.