agentleFS
iuryszaiurysza/agent-skills/skills/setup-goal/SKILL.md

setup-goal

Skill5 starsChanged 11 days agoMITView on GitHub

Turns an idea into an approved goal package under ai-artifacts. Use when work needs clarified intent, scope, accepted facts, an implementation plan, and an explicit handoff.

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 10 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not implement the goal while running this skill.

    line 12
  2. Distinctive:

    Create files only as their phase is reached.

    line 26
  3. Distinctive:

    If no question tool exists, present a short, answerable bundle in chat.

    line 34
  4. Distinctive:

    Never require or install Plannotator.

    line 37
  5. Distinctive:

    Ask the user to correct the restatement before continuing.

    line 43
  6. Very specific:

    Create ai-artifacts/goals/<slug>/ after the outcome and slug are clear.

    line 45
  7. Distinctive:

    Ask only questions whose answers could change scope, user-visible behavior, architecture, data, permissions, safety, rollout, or success …

    line 63
  8. Distinctive:

    Prefer fewer high-leverage questions over exhaustive questionnaires.

    line 65
  9. Distinctive:

    Do not leave a blocking question unresolved.

    line 89
  10. Very specific:

    Write accepted facts to facts.md:

    line 97
  11. Very specific:

    Write matching metadata to facts.meta.json:

    line 107
  12. Very specific:

    Use stable IDs. recommendedAutomatedVerification records the agent's recommendation.

    line 121
  13. Distinctive:

    Do not fabricate progress.

    line 148
  14. Distinctive:

    Before finishing, verify that every link resolves, every fact has matching metadata, the plan covers every fact, and no blocking decision …

    line 170
  15. Very specific:

    When intent or facts change, return the package to setup rather than silently changing the execution contract.

    line 180

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Setup Goal

Turn an idea into an execution-ready package at ai-artifacts/goals/<slug>/. Extract intent, resolve material uncertainty, agree on testable facts, and produce a concrete plan before implementation begins.

Do not implement the goal while running this skill.

Goal package

ai-artifacts/goals/<slug>/
├── intent.md
├── facts.md
├── facts.meta.json
├── plan.md
├── dev-log.md
└── goal.md

Create files only as their phase is reached. Markdown files are the human-readable source of truth. Tool-specific working files may live beside them but must not become required inputs for execution.

Choose the interaction path

Inspect which question and review tools are available before asking the user anything.

  • For several material decisions, prefer Plannotator when the plannotator CLI is available. Read PLANNOTATOR.md and use its interview and review adapters.
  • Otherwise, use the host's structured question or interview tool.
  • If no question tool exists, present a short, answerable bundle in chat.
  • For one quick decision, use the lightest available question tool instead of opening a full interview.

Never require or install Plannotator. The goal workflow must work without it.

1. Rearticulate the goal

State the intended outcome in two or three sentences. Include who benefits and what changes. If the request is vague, perform only enough repository exploration to ground the restatement.

Ask the user to correct the restatement before continuing. Do not ask them to repeat details already present in the conversation.

Create ai-artifacts/goals/<slug>/ after the outcome and slug are clear.

2. Extract intent

Inspect repository instructions, relevant code, docs, tests, configuration, prior decisions, and similar implementations. Answer factual questions from evidence instead of asking the user.

Separate what you learn into:

  • Outcome: the observable result the user wants.
  • Audience: who uses or operates it.
  • Problem: why the change matters.
  • Scope: behavior included in this goal.
  • Non-goals: nearby behavior intentionally excluded.
  • Constraints: technical, product, security, time, compatibility, or policy limits.
  • Decisions: choices only the user can make.
  • Assumptions: low-risk defaults accepted provisionally.
  • Unknowns: unresolved items that could materially change the work.

Ask only questions whose answers could change scope, user-visible behavior, architecture, data, permissions, safety, rollout, or success criteria. Each question should include context, meaningful options when possible, and a recommended answer.

Prefer fewer high-leverage questions over exhaustive questionnaires. Do not use a relentless one-question loop. Bundle related decisions when the available tool supports it.

Write intent.md:

# Intent

## Outcome

## Audience and problem

## Scope

## Non-goals

## Constraints

## Decisions

## Assumptions

## Open questions

Do not leave a blocking question unresolved. The user may explicitly accept a named assumption instead.

3. Build the fact contract

Convert the approved intent into a flat list of concrete, testable facts. A fact describes observable behavior, a boundary, or a verifiable constraint. Keep implementation choices out unless they are themselves approved requirements.

Review the facts with the user. They must be able to accept, edit, or remove each fact. Do not proceed until the fact set is explicitly approved.

Write accepted facts to facts.md:

# Facts

- The system ...
- A user can ...
- The change does not ...

Write matching metadata to facts.meta.json:

[
  {
    "id": "fact-1",
    "text": "The accepted fact text.",
    "comment": "",
    "recommendedAutomatedVerification": true,
    "automatedVerification": true
  }
]

Use stable IDs. recommendedAutomatedVerification records the agent's recommendation; automatedVerification records the user's accepted choice. Set them to true when a concrete automated check should prove the fact. Preserve user comments that affect interpretation.

4. Produce the plan

Explore the implementation path for every accepted fact. Trace existing code and name exact files or systems where possible.

Write plan.md with:

  • a brief solution approach;
  • ordered, bounded implementation steps;
  • files or systems touched by each step;
  • concrete verification for each step;
  • coverage for every fact marked automatedVerification: true;
  • risks, accepted assumptions, and remaining non-blocking unknowns.

Review the plan with the user using the best available review tool. Prefer Plannotator annotation when available; otherwise request explicit approval through the host's question tool or chat. If rejected, revise and review again.

5. Finalize the package

Create dev-log.md:

# Dev Log

Status: Not started

Do not fabricate progress. Execution appends work and evidence later.

Create goal.md:

# Goal

{One to three sentences describing the approved outcome.}

## Contract

- [Intent](./intent.md)
- [Facts](./facts.md)
- [Fact metadata](./facts.meta.json)
- [Plan](./plan.md)
- [Dev log](./dev-log.md)

## Done when

{Concise completion condition derived from the accepted facts and plan.}

Before finishing, verify that every link resolves, every fact has matching metadata, the plan covers every fact, and no blocking decision remains.

Tell the user the package path and that it is ready for the goal execution skill. If the host exposes a /goal command, it may be launched as:

/goal ai-artifacts/goals/<slug>/goal.md

Revisions

When intent or facts change, return the package to setup rather than silently changing the execution contract. Update intent.md, review affected facts again, revise the plan, and preserve stable fact IDs where their meaning did not change.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.