npx skills add pskoett/pskoett-ai-skills
npx skills add pskoett/pskoett-ai-skills/skills/intent-framed-agent
This skill turns implicit intent into an explicit, trackable artifact at the
moment execution starts. It creates a lightweight intent contract, watches for
scope drift while work is in progress, and closes each intent with a short
resolution record.
Use this skill for coding tasks only. It is designed for implementation work
that changes executable code.
Do not use it for general-agent activities such as:
For trivial edits (for example, simple renames or typo fixes), skip the full
intent frame.
Activate at the planning-to-execution transition for non-trivial coding work.
Common cues:
At execution start, emit:
## Intent Frame #N
**Outcome:** [One sentence. What does done look like?]
**Approach:** [How we will implement it. Key decisions.]
**Constraints:** [Out-of-scope boundaries.]
**Success criteria:** [How we verify completion.]
**Estimated complexity:** [Small / Medium / Large]
Rules:
Does this capture what we are doing? Anything to adjust before I start?During execution, monitor for drift at natural boundaries:
Drift examples:
When detected, emit:
## Intent Check #N
This looks like it may be moving outside the stated intent.
**Stated outcome:** [From active frame]
**Current action:** [What is happening]
**Question:** Is this a deliberate pivot or accidental scope creep?
If pivot is intentional, update the active intent frame and continue. If not,
return to the original scope.
When work under the active intent ends, emit:
## Intent Resolution #N
**Outcome:** [Fulfilled / Partially fulfilled / Pivoted / Abandoned]
**What was delivered:** [Brief actual output]
**Pivots:** [Any acknowledged changes, or None]
**Open items:** [Remaining in-scope items, or None]
Resolution is preferred but optional if the session ends abruptly.
One session can contain multiple intent frames.
Rules:
Abandoned or Pivoted, then open a new frame.
#1, #2, ...).Entire CLI: https://github.com/entireio/cli
When tool access is available, detect Entire at activation:
entire status 2>/dev/null
transcript on the checkpoint branch. This enables learning-aggregator --deep
to later mine intent frames and drift events for cross-session scope-drift
patterns.
nag about installation.
Copilot/chat fallback:
same intent workflow in chat output.
Each Intent Frame and Intent Check you emit is captured verbatim in Entire's
session transcript. At cadence, learning-aggregator --deep reads those
transcripts and extracts:
Abandoned or Pivoted → potential planninggaps
definition issues
project instruction files
You do not need to do anything special for this — the intent blocks are
structured (## Intent Frame #N, ## Intent Check, ## Intent Resolution),
which makes them parseable from the transcript.
Use this skill as the front-door alignment layer for non-trivial coding work:
plan-interview (optional, for requirement shaping)intent-framed-agent (execution contract + scope drift monitoring)context-surfing (context quality monitoring — runs concurrently with intent-framed-agent during execution)simplify-and-harden (post-completion quality/security pass)self-improvement (capture recurring patterns and promote durable rules)Both skills are live during execution. They monitor different failure modes:
thing? It fires structured Intent Checks when work moves outside the stated
outcome.
capable of doing it well? It fires when the agent's own coherence degrades
(hallucination, contradiction, hedging).
They are complementary, not redundant. An agent can be perfectly on-scope while
its context quality degrades. Conversely, scope drift can happen with perfect
context quality. Intent Checks continue firing alongside context-surfing's wave
monitoring.
Precedence rule: If both skills fire simultaneously (an Intent Check and a
context-surfing drift exit at the same time), the drift exit takes precedence.
Degraded context makes scope checks unreliable — resolve the context issue
first, then resume scope monitoring in the next session.
Cadence separation: Intent Checks fire at scope boundaries — before
touching a new area/file, before starting a new logical work unit, when the
current action feels tangential. Context-surfing's pre-commit anchor check
fires at side-effecting-action moments — specific tool calls, writes,
commits, commit-level output. Don't run both in the same beat: if an Intent
Check has just fired and resolved cleanly, the next side-effecting action
inside the same work unit doesn't need a fresh anchor check — you already
re-grounded.
anchor and copied verbatim into handoff files on drift exit.
simplify-and-harden.
self-improvement as learnings if they recur.
共 1 个版本