agentleFS
mmccallammccalla/coding-agent-skill-library/skills/goal-setting-and-monitoring/SKILL.md

goal-setting-and-monitoring

Skill4 starsChanged 5 months agoApache-2.0View on GitHub

Use when implementing agents that need explicit objectives, measurable success criteria, progress tracking, stop conditions, or iterative improvement against goals.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when an agent must work towards a defined outcome rather than simply respond once.

    line 10
  2. Distinctive:

    Stop when success criteria are met, the iteration budget is exhausted, or risk requires escalation.

    line 24
  3. Distinctive:

    Do not continue iterating without new evidence.

    line 44
  4. Distinctive:

    Do not declare completion without checking the defined success criteria.

    line 45
  5. Distinctive:

    Prefer deterministic checks over LLM judgement where tests, schemas, compilers or linters exist.

    line 46

≈ “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.

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

Goal Setting and Monitoring

When to use

Use this skill when an agent must work towards a defined outcome rather than simply respond once. Apply it for coding tasks that need acceptance criteria, progress tracking, quality gates, iteration limits, or measurable completion.

Objective

Define observable goals, measurable success criteria, stop conditions, and progress evidence for agent workflows.

Procedure

  1. Define the goal state in observable terms.
  2. Capture the initial state: repository structure, failing tests, requirements, constraints and available tools.
  3. Decompose the goal into sub-goals that can be checked independently.
  4. Define measurable indicators for each sub-goal.
  5. Execute work in small increments.
  6. Monitor evidence after each increment: tests, linting, type checks, logs, benchmark results or user-visible artefacts.
  7. Stop when success criteria are met, the iteration budget is exhausted, or risk requires escalation.

Implementation guidance

Represent goals as structured data, not vague prose:

{
  "goal": "Implement feature X",
  "success_criteria": ["tests pass", "public API documented", "no regression in existing behaviour"],
  "constraints": ["do not change database schema", "keep backwards compatibility"],
  "max_iterations": 5,
  "evidence": []
}

For coding agents, update the goal record after each tool action. Store what changed, what was verified, what failed, and what remains open.

Guardrails

  • Do not continue iterating without new evidence.
  • Do not declare completion without checking the defined success criteria.
  • Prefer deterministic checks over LLM judgement where tests, schemas, compilers or linters exist.
  • Escalate when the goal is under-specified, safety-critical, or conflicts with repository constraints.

References

Verification

  • Goal and non-goals are explicit.
  • Success criteria are measurable.
  • Progress evidence is captured.
  • Stop condition is explicit.
  • Final answer reports completed, skipped and unresolved items.

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.