agentleFS
rundesk-airundesk-ai/rundesk-skills/skills/writing-plans/SKILL.md

writing-plans

Skill1 starsChanged 3 months agoMITArchived repositoryView on GitHub

Use when work needs an executable implementation plan, especially for dependent steps, cross-component changes, risky operations, handoffs, or later continuation. It supplies a provider-neutral workflow for grounding decisions, ordering coherent tasks, respecting authority, and defining observable proof. Do not use it for a small local edit whose intent and verification fit in the response.

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-git-workflow, chinese-code-review 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-git-workflow

    适配国内 Git 平台和团队习惯的工作流规范——Gitee、Coding、极狐 GitLab 全覆盖

    Also in 9 projects that use this

  • Leodorareluctant259Skill

    chinese-code-review

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

    Also in 8 projects that use this

  • ryanportfolioSkill

    addskill

    Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.

    Also in 6 projects that use this

  • ryanportfolioSkill

    apply-firmware

    Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.

    Also in 6 projects that use this

  • +2 more from Leodorareluctant259
  • +6 more from ryanportfolio

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 8 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 170 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write a contract a capable worker can execute with repository access and no conversation history.

    line 8
  2. Distinctive:

    Use the path the user names.

    line 17
  3. Distinctive:

    Follow an existing repository convention found in its rules or documentation.

    line 18
  4. Distinctive:

    Use an established workspace or document area available to the user.

    line 19
  5. Very specific:

    Do not invent a provider home, storage directory, or repository convention.

    line 22
  6. Distinctive:

    Read the request, repository rules, implementation, tests, interfaces, migrations, and relevant documentation.

    line 27
  7. Distinctive:

    Keep implementation and proof together.

    line 68
  8. Very specific:

    When the plan drives implementation, use the tracker's status fields when available: pending, in progress, and completed, or their local …

    line 88
  9. Distinctive:

    If confirmed facts invalidate the approach, revise affected decisions and downstream tasks before continuing.

    line 93
  10. Distinctive:

    Do not start implementation unless the request also authorizes it.

    line 110

“Common” is measured: kept by at least 6 in 10 of the 170 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

Writing plans

Write a contract a capable worker can execute with repository access and no conversation history.

Decide scope and destination

Plan three or more dependent steps, multiple components or owners, risky transitions, or a handoff. Split only when each outcome can leave a working, testable state; keep shared constraints together.

Choose the destination in this order:

  1. Use the path the user names.
  2. Follow an existing repository convention found in its rules or documentation.
  3. Use an established workspace or document area available to the user.
  4. Otherwise, return the complete plan in the response.

Do not invent a provider home, storage directory, or repository convention. For an otherwise unnamed standalone plan, use YYYY-MM-DD-<short-topic>.md; a project convention wins.

Ground the plan

Read the request, repository rules, implementation, tests, interfaces, migrations, and relevant documentation. Search before proposing structure. Confirm every path, symbol, command, and tool; never present model recall as repository fact.

Map each requirement to its owning component. For each architectural decision, record the choice, material alternative, and repository-specific reason. Ask about unresolved choices that change scope, behavior, data, cost, or authority; choose and state ordinary implementation details.

Label assumptions and their confirmation. If execution must discover a fact, make discovery the first task and give the decision rule for each result. TBD is not a decision rule.

Write the execution contract

Start with:

# <Outcome> implementation plan

**Goal:** <completed behavior>
**Approach:** <design choice and why it fits this repository>
**Constraints:** <compatibility, safety, ownership, and authorization boundaries>
**Proof:** <observable checks for the complete outcome>

Order numbered tasks by dependency. Each must leave a coherent state and contain:

## 1. <Testable outcome>

**Files:**
- Modify: `confirmed/path`
- Test: `confirmed/test/path`

**Change:** <behavior, interfaces, data flow, edge cases, and preserved behavior>

**Verify:** <confirmed command or observable check> — expect <specific observable result>

Name created, modified, and tested files. Include signatures or data shapes only when downstream work depends on them. Use code only to resolve ambiguity; a plan is not a speculative patch.

Keep implementation and proof together. Split at independently reviewable outcomes, not file counts. Keep setup, configuration, and documentation with the outcome they enable. Put prerequisite interfaces or characterization tests before consumers or refactors. Make every task self-contained; never write “same as above” when a worker may receive only that task.

Good: characterize existing behavior, verify it, then refactor and rerun the targeted and required
      suites in a separate coherent task.
Bad:  "Refactor the component and add tests." This hides order, preserved behavior, and proof.

Good: `<confirmed command>` — expect rejected input, an unchanged valid path, and a passing required
      regression suite.
Bad:  "Run tests." A command without an expected observation does not prove the requirement.

These patterns follow the small-change and behavior-verification evidence mapped in references/sources.md.

Maintain execution state

When the plan drives implementation, use the tracker's status fields when available: pending, in progress, and completed, or their local equivalents. Keep the current task explicit and mark it complete only after its Verify result is observed. Do not turn task status into a progress diary.

If confirmed facts invalidate the approach, revise affected decisions and downstream tasks before continuing. Do not silently follow or diverge from a stale plan.

Preserve authority and handoff quality

Exclude commits, pushes, deployments, destructive operations, account changes, purchases, and messages unless authorized. If authorized, name who may act, the approval checkpoint, recovery path where relevant, and post-action proof. A plan does not grant permission.

Before delivery:

  1. Trace every requirement to a task and remove unrequested work.
  2. Recheck paths, symbols, commands, terminology, interfaces, and dependency order.
  3. Replace vague verbs (handle, update, test) with cases and expected results.
  4. Confirm each task preserves existing work and stays inside the granted authority.
  5. Report the destination, outcome, decisions, open choices, and first executable task.

Do not start implementation unless the request also authorizes it.

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.