agentsclimarketplace

Frame intent

Skill eugenelim/agent-ready-repo/packs/product-engineering/.apm/skills/frame-intent

Use when shaping a piece of product work before it becomes a spec — turning an idea, a request, or a strategy into a level-tagged `intent` (an outcome + the opportunity behind it). Triggers on "shape this", "what's the intent here", "frame the problem", "before we build X", "turn this into a brief/PRD". Authors an `intent` at any altitude in the open recognized set — product-vision, product-strategy, capability, or feature — resolves Scale (app ↔ business-unit) at intake, and offers current-state inputs only when brownfield. Do NOT use to test an assumption (use `de-risk-intent`) or to break an intent down (use `decompose-intent`).From its SKILL.md

Install
npx -y skills add eugenelim/agent-ready-repo --skill frame-intent

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

12.5 KB, ~2.9k tokens by cl100k_base, as published. Nobody here has run it

Skill: frame-intent

Shape a piece of product work into an intent — a level-tagged statement of an outcome and the opportunity behind it — before it becomes a spec. A product-vision, a product-strategy, a capability, and a feature intent are the same artifact at different levels; a PRD is just a feature intent written as a document. This is the entry point of the product-engineering loop: frame here, then de-risk-intent, then decompose-intent. The intent model is in references/intent-model.md.

Output rendering

Key–value / one record — For a single record's fields, use an aligned key: value list, not a two-row table. Rationale / narrative — Use short ## headings and 2–3 sentence paragraphs. Don't force narrative into a table.

When to invoke

Before framing, confirm:

  1. The ask is shaping, not testing or breaking down. If the user wants to probe whether a bet holds, route to de-risk-intent; if they want to split a shaped intent into the next level, route to decompose-intent.
  2. There is an outcome worth naming — something that changes for a user or the business. If the work is a pure refactor or chore with no user-facing outcome, it doesn't need an intent; say so.
  3. This skill ships the intent template at assets/intent-template.md. Resolve where to write it using the config-driven procedure below, then write it to <output_dir>/intents/<slug>.md; fill what you have.

Procedure

  1. Intake — resolve Scale, then maturity. Run the routine in references/scale-intake.md: infer Scale from the workspace (app code + a single component → app; no app code / many component pointers → business-unit), confirm it with the user, and ask only when it's genuinely ambiguous. Stamp Scale: on the intent (and the docs/product/ root on first run). Then ask greenfield or brownfield for this intent — it gates one thing only (step 5).

  2. Consult the enterprise's knowledge — only if a surface is present. If you detect a knowledge-retrieval surface in this session (an MCP knowledge tool, an internal CLI, an in-repo doc set — reason about capabilities, name no specific tool; a public web search/fetch tool is not an internal surface, so don't count it), load references/knowledge-surfaces.md and consult the problem-framing areas this intent turns on — business domain & meaning (so the outcome and opportunity use the org's real terms and rules) and in-flight & roadmap (so you don't frame a bet already being delivered); in brownfield, the current-landscape area is consulted at step 5, where the maturity gate offers current-state inputs. Name the surface you used (or "none detected") in the intent's Assumptions, so detection stays auditable. If no surface is present, compose-if-present, degrade-if-absent: ask the user for the missing domain / in-flight context and lower the confidence of any outcome or opportunity that leaned on it (carry the marker into Assumptions); never fabricate; treat sensitive or read-only sources as ask-before-quoting.

  3. Pick the altitude — Scale only suggests it. The recognized set runs product-vision › product-strategy › capability › feature and is open (name an intervening altitude if your org has one — see references/intent-model.md). Scale suggests where to start, it does not stamp it: an app greenfield product conceptproduct-vision (the existence bet); an app known featurefeature; a business-unit effort → product-strategy or capability. For concept-shaped or greenfield input, ask the altitude explicitly — "is this a product bet, or a feature you've already scoped?" — rather than defaulting to feature; the user overrides the suggestion in one word. A clearly-scoped feature proceeds at feature without ceremony, and decompose-intent produces the levels beneath whatever altitude you start at.

  4. Write the outcome — three parts. A steerable input metric you can move, the lagging outcome it should drive, and a guardrail that must not get worse. A quantified target is not the same as outcome-thinking; in 0-to-1 a qualitative-but-falsifiable outcome is first-class — name the signal you'd accept as proof. Never bolt a metric onto a feature already decided.

  5. Write the opportunity — solution-independent. Frame what the user is trying to get done (a job / opportunity), not a solution. The default outside-in lens is a three-tier JTBD job map (see references/jtbd-job-categories.md). Elicit all four dimensions and write the user's answers into the intent's Opportunity sub-fields before continuing to step 6:

    • Functional job: what the user is trying to accomplish — the core task or outcome, independent of any product or solution.
    • Emotional job: how they want to feel (or not feel) during or after getting the job done.
    • Social job: how they want to be perceived by others while doing the job.
    • Struggling moment: the friction point where the current situation fails them — the gap between where they are and where the job requires them to be.

    Only in brownfield, also offer the current-state inputs in references/current-state-inputs.md (a journey map, or an L3 process map as a constraint) — in greenfield, skip them so you don't pave cow paths. For full job discovery and opportunity scoring, run identify-opportunities after framing.

  6. Seed the assumptions. List what must be true for the bet to pay off — one line each. Don't test them here; de-risk-intent picks the riskiest and predeclares a kill condition. Leave Decomposition empty.

  7. Hand off. Resolve output_dir using the config-driven procedure below and record the intent at <output_dir>/intents/<slug>.md (file-per-slug — a single file handed downstream, not a per-topic folder). When running the discovery-traceability chain, stamp the intent's optional Kind: (outcome | opportunity) so the structural-orphan lint can place it on the opportunity-solution tree; a capability-level intent is placed by Level: instead, and a feature intent maps downstream to a brief/spec. Point the user at de-risk-intent (to test the riskiest assumption) or, once it survives, decompose-intent (to break it down). See examples/feature-intent-to-brief.md for a worked app-scale walk-through.

Where the intent lives — config-driven, elicit when not configured

Resolve the intent output directory in this order, in this skill body. Reading is prompt-only (Charter Principle 3): this skill reads a file and reasons about a path — there is no engine, index, daemon, or watcher behind it, and the only code that ever writes the layout file is the install-time append. See references/agentbundle-layout.md for the [product] section's full schema.

  1. Repo-scope config — read ./agentbundle-layout.toml [product] output_dir if the file exists and the key is present. Repo-scope takes priority so that a project or team convention applies when you're working in this repo. The file is adopter-owned, never shipped into a projected path:

    # agentbundle-layout.toml (adopter-created; optional)
    [product]
    output_dir = "docs/product"   # a base; intents land at <output_dir>/intents/<slug>.md
    
  2. User-scope config — read ~/.agentbundle/agentbundle-layout.toml [product] output_dir if the file exists and the key is present. User-scope is the fallback — useful for a personal vault (e.g. Obsidian) or a default output path you use across repos when no repo convention is set.

  3. Two-branch elicitation — when neither config resolves, ask which branch fits — never a silent default:

    • Repo branch — "Commit to this repo? Suggest: docs/product/ (team-visible, version-controlled). Enter path or press Enter to accept:" On accept, write output_dir = "<path>" to ./agentbundle-layout.toml [product] so subsequent skills skip elicitation.
    • Personal/vault branch — "Write to a personal workspace (e.g. Obsidian vault)? Enter the absolute path. Example: ~/Documents/<VaultName>/product/ (no default)." On accept, write output_dir = "<path>" to ~/.agentbundle/agentbundle-layout.toml [product].

Anchor output_dir by the layout file's own location, never against the ambient cwd: a repo-root file's output_dir is repo-root-relative (an absolute value is permitted but warn it as non-portable); a user-profile file's output_dir must be an explicit absolute path (~-anchored is fine), and a relative value there is an Ask-first deviation, never silently resolved.

Resolve, then surface, then write. After anchoring, resolve output_dir to its full absolute path~-expand it and realpath-resolve it so any symlink in the path is made visible and never silently followed out of the intended root — and reject any .. escape. The .. rejection and the realpath happen after anchoring, so a relative repo-file value that escapes via .. (e.g. output_dir = "../../etc") is caught regardless of which file supplied it; anchoring never blesses a ..-bearing value as in-tree. Then surface the resolved absolute path to the adopter before creating the intent file — the first write is always preceded by the path you are about to write under.

A repo-root-sourced output_dir that resolves outside the repo tree — or whose resolution required following a symlink out of the intended root — is untrusted-origin: confirm the resolved absolute path with the adopter before writing.

Output shape — file-per-slug, not a per-topic folder. Intent files live directly under <output_dir>/intents/<slug>.md. A per-topic folder is deliberately not used: each intent is a single file handed downstream to de-risk-intent and decompose-intent. decompose-intent's docs/product/briefs/<slug>.md output stays pinned — that path is the hand-off to core's receive-brief and is not governed by this config (a deliberate non-goal of this layout config).

Spotting a missing parent — offer, never block

When a concept won't reduce to a single shippable slice — it implies several independent value bets, not one buildable thing — that is the signal a product parent is missing. Offer to frame the product parent (product-vision / product-strategy) and shape the rest beneath it, rather than letting the user emit orphaned siblings. The sibling count is a hint, not a fixed threshold; the real test is the qualitative shippability one. It is an offer — never a block; the user can decline and proceed. decompose-intent carries the same detector, plus a retroactive-parent affordance for intents that already exist.

Anti-patterns to refuse

  • Mandating a schema / rejecting a half-formed intent. The template is a prompt sheet. An intent missing metrics is normal input — offer a default, don't block.
  • Baking a solution into the opportunity. "Add a reset-link button" is a solution; "get back into my account on my own" is the opportunity. Keep the opportunity solution-independent so de-risk and decomposition stay open.
  • A quantified target standing in for outcome-thinking. A number retrofitted onto a feature already chosen is theatre; name the input you can steer and the guardrail you're watching, not just a scoreboard.
  • Mapping the current process in greenfield. There's nothing to pave yet — current-state inputs are a brownfield-only tool.
  • Framing at the wrong altitude. A cross-component bet written as one feature intent hides the seams; raise it to a capability intent and decompose.

What ships with it: 11 files

40.6 KB alongside SKILL.md

assets/

evals/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.