agentsclimarketplace

Design feature

Skill gtrabanco/agentic-workflow/skills/design-feature

Turn a raw idea or existing feature into a designed product SPEC by completing entity, integration, role, and expectation closure. Upserts never destroy recorded decisions. Triggers: "design-feature", "design this feature", "define product scope".From its SKILL.md

Install
npx -y skills add gtrabanco/agentic-workflow --skill design-feature

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

  • 19 stars19 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.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

8.6 KB, as published. Nobody here has run it

Design Feature

Product definition — the stage that turns an idea or a feature request into an exhaustive, checkable set of acceptance criteria, before any engineering planning happens. Docs only — no code, no branch.

Turn contract

Load and verify the canonical Turn contract (11 boxes) before ending every turn. Design-specific closure boxes (product half, capability/role matrix, expectation sweep, upsert) live only in INTERVIEW.md. Missing reference → STOP.

When to use

  • A rough idea, no issue yet, and no SPEC: design-feature "<idea>".
  • An existing feature slug whose SPEC is not yet marked designed: design-feature <NN-slug>.
  • Revising an already-designed feature's product definition: design-feature <NN-slug> "<change>" (instruction mode), or bare design-feature <NN-slug> for review mode (see Interaction & upsert).
  • plan-feature redirects here automatically when it detects an undesigned feature — you don't have to notice the gap yourself.

Step 0 — Discover the project (always first)

Per the agent guide's Workflow conventions + documentation map, then read what THIS skill needs: docs/features/_TEMPLATE/SPEC.md (the two-halves layout + ## Design status marker), the roadmap (docs/features/ROADMAP.md), the capability inventory (docs/CAPABILITIES.md — the substrate the Integration closure walks; if the project has none, derive an ad-hoc inventory from the architecture doc + codebase during step 5 and offer to seed the file from the template), and — if the slug already has a folder — its existing SPEC.md and decisions.md in full (upsert never starts blind). Skim the architecture doc and domain/style docs relevant to the idea's area only far enough to ground capability closure in the project's real entities and roles — deep engineering research is the Engineering half's job, not this one.

Progressive loading — resolve status before product detail

The reference allowlist is exactly the four paths linked below. Never invent or read another references/ path.

Hard stop for an incomplete raw-idea interview: LOAD exactly references/INTERVIEW.md and no other reference. Ask its one next question, return NEEDS_INPUT, and end the turn. WRITE_AND_UPSERT.md is forbidden until every mandatory interview slot is resolved; that resource then owns closure rows and writing.

Condition nowLOAD nowDEFER / SKIP now
Bare existing slug, no instructioninterview through its interaction rule; report status and stopreferences/WRITE_AND_UPSERT.md, references/UPSERT_EXAMPLE.md, references/PORTABILITY.md
Brand-new idea with any mandatory interview slot unresolvedinterview only; ask exactly its next question and stopreferences/WRITE_AND_UPSERT.md, references/UPSERT_EXAMPLE.md, references/PORTABILITY.md
New idea after every mandatory interview slot resolvesinterview, then closure, write, and upsertreferences/UPSERT_EXAMPLE.md unless shape is ambiguous; references/PORTABILITY.md
Existing slug plus instructioninterview, then closure/write/upsertupsert example unless shape is ambiguous; references/PORTABILITY.md
A named platform primitive is absentthe selected row above plus portabilityonly unrelated rows

Do not load write/upsert while an interview slot is unresolved. A supported primitive is not absent merely because the current task does not use it.

All resources are one hop from this file. Closure rows, role matrices, expectation counts, fixed status blocks, and Spec-lint are normative. A missing required resource or unresolved mandatory slot returns NEEDS_INPUT; never guess.

Guardrails

  • Docs only — no code, no branch (that is execute-phase), no engineering content (architecture, design, phases, testing — that is plan-feature's Engineering half; do not pre-fill it here even if the answer seems obvious).
  • Never stamp ## Design status: designed with a blank Capability closure row, a skipped inventory subsystem, an incomplete role matrix, or an unresolved Expectation sweep row — a skipped row silently un-does the entire point of this skill.
  • The Expectation sweep enumerates domain conventions, not new scope: it may only route each expectation to in-scope / out-of-scope / deferred — it never silently grows the feature beyond what the user confirms.
  • No systematic per-feature market research; no global skill/MCP discovery sweep (product-audit's job); no --update flag — upsert is always the default behavior, not an opt-in.
  • Don't build a separate DESIGN.md — one SPEC, two halves, always.
  • Composition tier. This skill is planning-class (judgment work — run it on your strongest model / highest effort). plan-feature-from-issue composing this skill in-turn for a thin issue is allowed only when it runs at ≥ this skill's tier; otherwise it must hand off (run /design-feature <slug>) rather than under-power it.
  • Otherwise per the project's Workflow conventions (docs-language).

Normalized Repository State

Consume frozen facts and decisions from docs/workflow/REPOSITORY_STATE.md. An absent fact may be inspected; a conflict becomes a resolver contradiction. Documentation and inference are never implementation evidence.

Architectural invariants

Discover the optional project invariant document declared in the documentation map (normally docs/architecture/ARCHITECTURAL_INVARIANTS.md) before defining a capability. If absent, record n/a: no project invariants declared in the SPEC and continue. For every applicable rule, cite its ID and repository evidence and classify the proposal as preserves, violates, introduces, or changes. Only preserves may proceed to capability closure. A violation, new rule, or changed rule stops design for an explicit architectural decision through the project's declared authority; never make a SPEC, implementation plan, or test retroactively authorize it. When NRS exists, consume its frozen facts first; the repository remains authoritative and a conflict routes to the resolver.

Portability

Do not read portability on a supported platform. Read it only after detecting that a named interaction primitive is absent. The interview, closure, upsert, and fixed output contracts stay identical.

Relationship to other skills

  • plan-feature redirects here (no bypass flag) when a feature's product half is not marked designed; once this skill hands off, plan-feature fills the Engineering half and scaffolds the artifacts.
  • plan-feature-from-issue may compose this skill in-turn for a thin issue (only at ≥ tier — see Guardrails), or hand off to it directly.
  • triage-issue's promote-to-feature verdict routes through plan-feature, which redirects here if the promoted issue is still undesigned.
  • execute-phase never calls this skill — it only executes an already-planned SPEC's Engineering half.

Done when

  • The Product half of the SPEC is filled and every Capability closure row is resolved (filled surface or explicit n/a).

  • ## Design status accurately reflects the outcome (designed only when closure is complete).

  • The roadmap row exists (created at idea if this was a brand-new feature) and its status matches the outcome — defined when designed, left at idea on NEEDS_INPUT.

  • The closing → Next: block is printed:

    → Next: /plan-feature <slug> — product half designed, ready for engineering planning
      · more to design → re-run /design-feature <slug> "<instruction>" (upsert, destroys nothing)
      · recurring gap in this project's capability closure → /product-audit (a systemic pattern,
        not a one-off design fix)
    

    When ending NEEDS_INPUT instead:

    → Next: answer the pending question, then re-run /design-feature <slug>
      · unsure how to scope it → propose the smallest version and confirm
    

What ships with it: 4 files

10.8 KB alongside SKILL.md

Keep looking

Skills are one crate of 626,194. 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.