agentleFS
supper-skillssupper-skills/develpment-skills/skills/executing-plans/SKILL.md

executing-plans

Skill2 starsChanged 8 months agoMITView on GitHub

Use when there is a written implementation plan to execute in the session. Load the plan, review it, execute all tasks, and report upon completion. Activate when user mentions "execute plan", "implement plan", "run plan", "start execution", or when a plan document is ready for implementation.

189 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-code-review, chinese-commit-conventions and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Leodorareluctant259Skill

    chinese-code-review

    中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈

    Also in 8 projects that use this

  • Leodorareluctant259Skill

    chinese-commit-conventions

    中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化

    Also in 8 projects that use this

  • obraSkill

    diagnosing-superpowers

    Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

    Also in 20 projects that use this

  • allanninalSkill

    algorand-vulnerability-scanner

    Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing field validations, and access control issues. Use when auditing Algorand projects (TEAL/PyTeal). (project, gitignored)

    Also in 4 projects that use this

  • allanninalSkill

    cairo-vulnerability-scanner

    Scans Cairo/StarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging issues, address conversion problems, and signature replay. Use when auditing StarkNet projects. (project, gitignored)

    Also in 4 projects that use this

  • farslabSkill

    aws-agentic-ai

    AWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents at scale. Use when working with any AgentCore service including Gateway, Runtime, Memory, Identity, Code Interpreter, Browser, Observability, Agent Registry, or Evaluations. Covers agent deployment, MCP tool integration, credential management, agent discovery, governance workflows, and automated quality assessment. Essential when user mentions AgentCore, agent runtime, agent registry, agent evaluation, MCP gateway, deploy agent, register MCP server, discover agents, evaluate agent quality, agent credentials, or wants to build, deploy, catalog, or monitor AI agents on AWS.

    Also in 3 projects that use this

  • +3 more from Leodorareluctant259
  • +1 more from allanninal

The file

Show its rules and text

We split this skill into the rules it gives an agent

28 rules. 0 are common, 27 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 178 edited versions we read keep these.

  • 27

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before the plan is completed, do NOT:

    line 19
  2. Distinctive:

    Use a unified session state file to track progress:

    line 28
  3. Distinctive:

    After completing a task → Immediately update state file

    line 36
  4. Distinctive:

    Run git branch --show-current to confirm current branch

    line 65
  5. Distinctive:

    If on main/master branch, stop and ask if should continue

    line 66
  6. Distinctive:

    Check if each task defines test file path

    line 86
  7. Distinctive:

    Verify test file paths are not empty or placeholders

    line 87
  8. Distinctive:

    If test coverage is insufficient, immediately stop and require test plan to be supplemented

    line 89
  9. Distinctive:

    If concerns found → Record issues, discuss with user before continuing

    line 93
  10. Distinctive:

    If test coverage insufficient → Request return to writing-plan to supplement tests

    line 94
  11. Distinctive:

    If no concerns → Create task list, proceed to Phase 2

    line 95
  12. Distinctive:

    Update session state file

    line 116
  13. Distinctive:

    Commit if plan specifies

    line 117
  14. Distinctive:

    Read existing files before making modifications

    line 127
  15. Distinctive:

    Use exact code from the plan

    line 128
  16. Distinctive:

    Check if actual output matches expected output

    line 130
  17. Distinctive:

    Stop and seek help

    line 146
  18. Distinctive:

    Completion Criteria: All tasks executed, all tests passed, code comments added, verifications passed

    line 148
  19. Distinctive:

    Run final verification suite

    line 158
  20. Distinctive:

    Update session state file marking completion

    line 159
  21. Distinctive:

    When plan contains multiple subsystems:

    line 215
  22. Distinctive:

    Read outline file, identify number of subsystems

    line 217
  23. Distinctive:

    Verify dependencies, order by execution sequence

    line 218
  24. Distinctive:

    When invoked by writing-plan skill:

    line 226
  25. Very specific:

    Read session state file design/.session-state.md

    line 253
  26. Distinctive:

    Verify completed task code and tests

    line 254
  27. Distinctive:

    Stop and ask user

    line 270
  28. Distinctive:

    Don't try to force through obstacles

    line 271

“Common” is measured: kept by at least 6 in 10 of the 178 edited versions of this file we could read. “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

Executing Plans Skill

This skill is used to execute written implementation plans, strictly following documented steps.


Core Principles

Execution First

Before the plan is completed, do NOT:

  • Skip the review step
  • Skip verification steps
  • Operate on main branch (unless explicitly approved)
  • Guess or assume

Session State Management

Use a unified session state file to track progress:

  • Path: design/.session-state.md
  • Template: references/execution-state-template.md (shared)

When to Operate:

  • Skill activation → Immediately create/update state file
  • After completing a task → Immediately update state file
  • At the start of each dialogue round → Read state file to restore context
  • After each phase/task completion → Immediately update state file

Termination Condition

The only way to terminate this skill is to complete all tasks and generate a completion report.


Task Status

StatusDescription
CompletedTask completed, all verifications passed
In ProgressTask is being executed
PendingTask has not started
BlockedTask is blocked by issues

Workflow

Phase 1: Load and Review Plan

Goal: Load plan document, conduct critical review.

Actions:

  1. Run git branch --show-current to confirm current branch
  2. If on main/master branch, stop and ask if should continue
  3. Read plan document
  4. Conduct critical review of plan
  5. Verify test coverage

Review Checklist:

  • Are goals clear and achievable?
  • Are all file paths precise and correct?
  • Are code snippets complete (not placeholders)?
  • Are test commands accurate for the project?
  • Is each step granular enough (2-5 minutes)?
  • Does each task include test steps?
  • Are test file paths clear and complete?
  • Do test cases cover main functionality?

Test Coverage Verification:

⚠️ Mandatory Check Items:

  • Check if each task defines test file path
  • Verify test file paths are not empty or placeholders
  • Confirm test cases cover core functionality
  • If test coverage is insufficient, immediately stop and require test plan to be supplemented

Decision Points:

  • If concerns found → Record issues, discuss with user before continuing
  • If test coverage insufficient → Request return to writing-plan to supplement tests
  • If no concerns → Create task list, proceed to Phase 2

Completion Criteria: Plan reviewed, test coverage verified, task list created


Phase 2: Execute Tasks

Goal: Execute each task according to the plan.

Execution Rules:

For each task in the plan:

  1. Mark task as "In Progress" in task list
  2. Verify test file exists (if it doesn't exist, create test file first)
  3. Execute each step exactly as written
  4. Execute tests following TDD flow, tests must pass, test failures must be fixed
  5. Run specified verifications
  6. Check if code comments need to be added
  7. Mark task as "Completed" in task list
  8. Update session state file
  9. Commit if plan specifies

Code Comment Invocation Format:

Invoke code-commentator skill, target files: [file paths]

Step Execution Rules:

  • Read existing files before making modifications
  • Use exact code from the plan
  • Execute commands exactly as specified in the plan
  • Check if actual output matches expected output

Verification Requirements:

Each task must pass its verification before moving to the next:

  • Tests must pass (not just run)
  • Build must succeed
  • Lint must pass
  • Code comments added (if needed)

Error Handling:

When errors occur:

  1. Record error to session state file
  2. Stop and seek help

Completion Criteria: All tasks executed, all tests passed, code comments added, verifications passed


Phase 3: Completion and Reporting

Goal: Generate completion report, update project context.

Actions:

  1. Run final verification suite
  2. Update session state file marking completion
  3. Generate completion report
  4. Use project-context skill to update project context
  5. Use project-context skill to update user profile (if new preferences identified)

Completion Report Format:

## Implementation Complete

**Plan**: [plan file path]
**Status**: ✅ All tasks completed

### Summary

[Brief description of what was built]

### Changed Files

- New: [new file list]
- Modified: [modified file list]

### Verification Results

- Tests: ✅ Passed
- Build: ✅ Succeeded
- Lint: ✅ Clean

Completion Criteria: Report generated, project context updated, user profile updated (if changed)


When to Stop and Seek Help

Immediately stop execution in the following situations:

SituationAction
Missing dependenciesRequest user to install or provide
Tests repeatedly failingDebug and seek guidance when stuck
Instructions unclearRequest clarification, don't guess
Critical plan defectsReturn to Phase 1 for plan revision
Unexpected errors occurRecord error and seek help

Stop Protocol:

  1. Record obstacle to session state file
  2. Explain what was attempted
  3. Pose specific questions
  4. Wait for guidance

Multi-Subsystem Handling

When plan contains multiple subsystems:

  1. Read outline file, identify number of subsystems
  2. Verify dependencies, order by execution sequence
  3. Execute each subsystem in dependency order (Phase 1 → Phase 2 → Phase 3)
  4. Shared components implemented in the first subsystem that uses them

Invocation by Other Skills

When invoked by writing-plan skill:

Received Parameters:

  • plan_path: Plan document path (required)
  • subsystem_paths: Subsystem plan path list (required for multi-subsystem)
  • outline_path: Outline file path (if applicable)

Skip trigger condition check, directly create session state file and proceed to Phase 1.


Reference Guide

Reference DocumentPurpose
references/execution-state-template.mdExecution state record template
references/completion-report-template.mdCompletion report template

FAQ

How to recover after dialogue interruption?

Handling:

  1. Read session state file design/.session-state.md
  2. Verify completed task code and tests
  3. Report recovery options to user

Plan needs modification?

Handling:

  1. Return to Phase 1 for plan review
  2. Discuss modification plan with user
  3. Re-execute after modification

Encountered obstacles?

Handling:

  1. Record issue to session state file
  2. Stop and ask user
  3. Don't try to force through obstacles

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.