define-goals
Skill1 starsChanged 4 months agoMITView on GitHub
Pins down what a new project or initiative is for: the objective, the stakeholders, how success is measured, and the guardrails. Use when a new project or initiative starts before scoping or building, or when the user wants to build X with no stated objective, or when the objective is vague or missing. Skip a single feature, and skip while a decision or approval reply is pending.
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- writing-specsSkill
- clarifying-intentSkill
- dispatching-parallel-agentsSkill
- handoffSkill
- mapping-the-codebaseSkill
- prototypingSkill
- using-git-worktreesSkill
- using-sdlc-skillsSkill
- viewing-artifactsSkill
- writing-skillsSkill
- yagniSkill
- finishing-a-branchSkill
- release-readinessSkill
- architecture-decisionsSkill
- coding-standardsSkill
- data-modelSkill
- migration-strategySkill
- reviewing-plansSkill
- system-architectureSkill
- ui-ux-designSkill
- writing-plansSkill
- executing-plansSkill
- subagent-driven-developmentSkill
- test-driven-developmentSkill
- complexity-auditSkill
- containing-an-incidentSkill
- debuggingSkill
- diagnosing-a-sessionSkill
- post-mortemSkill
- refactor-architectureSkill
- feasibility-checkSkill
- scopingSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-auditsSkill
- verification-before-completionSkill
- verification-strategySkill
- visual-ui-verificationSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Before scope or design, name the outcome — and how you'll know you hit it.
- Very specific: line 16
Skip: when a drafted goal or brief is awaiting a direct answer.
- Distinctive: line 23
Ask "why this, why now?" until the answer is what the world does differently afterward, not code that exists.
- Distinctive: line 33
Write the guardrails (what must not degrade) and the failure criterion: the observation meaning the initiative failed even with its metric …
- Distinctive: line 35
Write the value in one sentence.
- Very specific: line 39
Write the immutable ## Goals section to .sdlc-skills/briefs/{{YYYY-MM-DD}}-{{topic}}.md or the user-set path, preserving approved sections …
- Very specific: line 58
Ask through the harness's user-input action when one exists, else print this block.
- Distinctive: line 61
Never impose a phase already complete.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Define Goals
Before scope or design, name the outcome — and how you'll know you hit it.
When to use
- Starting a new project, product, or substantial initiative with a fuzzy "why".
- Skip for a single feature or task. Use
clarifying-intentonly for genuine ambiguity about which initiative or procedure is intended;writing-specsowns settled detailed feature requirements. - Skip when a drafted goal or brief is awaiting a direct answer; an
informative non-answer routes to
clarifying-intent, not a new goal pass.
Step 1: Find the objective
Open assets/goals-section.md before starting; each step fills its section.
- Ask "why this, why now?" until the answer is what the world does differently afterward, not code that exists.
- Name who benefits, who operates or bears risk, what changes for each, who owns the outcome. Competing goals → separate metrics, never one average.
- Record one accountable decision owner, or the approvers, conflict resolver, and decision rule. Solo owner — the user is the only stakeholder → they are the decision owner; leave the approver, conflict, and decision-rule fields out.
- Per outcome: current baseline, target, time horizon, measurement source, accountable owner. No source or date → cannot be checked → not a goal.
- Write the guardrails (what must not degrade) and the failure criterion: the observation meaning the initiative failed even with its metric up.
- Write the value in one sentence.
Step 2: Write and present
- Write the immutable
## Goalssection to.sdlc-skills/briefs/{{YYYY-MM-DD}}-{{topic}}.mdor the user-set path, preserving approved sections around it. Present:
Goals {{path}} — version {{identity (per template)}} Objective: {{one line}} Measure: {{baseline}} → {{target}} by {{horizon}}, source {{source}} Guardrails: {{list}} 1. Approve the goals 2. Request changes 3. Reject the objective 4. Cancel Recommendation: {{option the open assumptions support}} — {{one sentence}}.Ask through the harness's user-input action when one exists, else print this block; end the turn;
clarifying-intentowns what closes it.- REQUIRED SUB-SKILL: on option 1, invoke
feasibility-checkwhen viability is unresolved; otherwisescopingwhen the boundary is next. Never impose a phase already complete.
Gotchas
- A guardrail can look complete just by being written down while staying
unfalsifiable.
scopingtreats every goal guardrail as a non-negotiable constraint on each cut, so one with no observable threshold lets a cut violate it with nothing positioned to catch that. - Naming several approvers for the objective without also naming a conflict resolver and a decision rule leaves no way to settle it when they disagree about what the goal actually is — the brief then stalls on a tie nobody is positioned to break.
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
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.

