agentleFS
Aquarius-muAquarius-mu/skillManager/skills/gameserver-agent-skills/plan/SKILL.md

plan

Skill1 starsChanged 2 months agoMITView on GitHub

Use when you have a spec or requirements for a multi-step task, before touching code. Writes a step-by-step implementation plan with exact file paths, code, and build commands.

179 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use heartmula, minecraft-modpack-server 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.
  • braxtonROSE4Skill

    heartmula

    Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.

    Also in 8 projects that use this

  • braxtonROSE4Skill

    minecraft-modpack-server

    Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.

    Also in 4 projects that use this

  • kevinnftSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 6 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 7 projects that use this

  • kevinnftSkill

    debugging-hermes-tui-commands

    Debug Hermes TUI slash commands: Python, gateway, Ink UI.

    Also in 3 projects that use this

  • sahinSkill

    execute

    Also in 18 projects that use this

  • +5 more from braxtonROSE4
  • +1 more from kevinnft

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 158 edited versions we read keep these.

  • 7

    Distinctive

    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:

    Write a comprehensive implementation plan.

    line 8
  2. Distinctive:

    If the spec covers multiple independent subsystems, suggest breaking into separate plans — one per subsystem.

    line 18
  3. Distinctive:

    Before defining tasks, map which files will be created or modified:

    line 22
  4. Distinctive:

    Follow existing patterns: one CmdParser cpp per feature area, one Logic Manager per domain

    line 24
  5. Distinctive:

    Prefer smaller focused files.

    line 25
  6. Distinctive:

    Every plan must verify each new feature:

    line 112
  7. Distinctive:

    After writing the complete plan:

    line 123

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

Plan

Write a comprehensive implementation plan. Every step must be self-contained — the implementer may read tasks out of order.

Announce at start: "I'm using the plan skill to create the implementation plan."

Project: Existing C++ game server. No scaffolding needed. VCS = SVN.

Save plans to: docs/plans/YYYY-MM-DD-<feature-name>.md

Scope Check

If the spec covers multiple independent subsystems, suggest breaking into separate plans — one per subsystem. Each plan should produce working, deployable code on its own.

File Structure

Before defining tasks, map which files will be created or modified:

  • Follow existing patterns: one CmdParser cpp per feature area, one Logic Manager per domain
  • Prefer smaller focused files; don't unilaterally restructure existing code
  • Files that change together should live together

Plan Document Header

# [Feature Name] Implementation Plan

> **For agentic workers:** Execute task-by-task using the `/implement` skill. Steps use `- [ ]` for tracking.

**Goal:** [One sentence]

**Architecture:** [2-3 sentences]

**Tech Stack:** C++17, SVN, build script

---

Task Structure

### Task N: [Component Name]

**Files:**
- Modify: `GameServer/CmdParser/CmdParserXxx.cpp:45-80`
- Modify: `GameServer/Logic/RoleXxx.cpp`
- Modify: `Common/ProtoXxx.sdp`

- [ ] **Step 1: [Protocol] Define sdp structs**

```cpp
// in Common/ProtoXxx.sdp
// exact structs to add
```

- [ ] **Step 2: [Logic] Implement business logic**

```cpp
// exact code to add in RoleXxx.cpp
```

- [ ] **Step 3: [Handler] Implement CmdParser handler**

```cpp
// exact handler in CmdParserXxx.cpp
int32_t HandlerManager::handle_Xxx_Yyy(Role &role, const Proto::Req_Xxx_Yyy &stReq)
{
    int32_t iRet = role.xxxMgr->doSomething(stReq.iParam);
    if (iRet != 0)
    {
        return iRet;
    }
    Proto::Rsp_Xxx_Yyy stSend;
    role.xxxMgr->fillState(stSend.stState);
    sendResponse(stSend);
    return 0;
}
```

- [ ] **Step 4: Build**

Run: `cd <workdir> && ./build.sh`
Expected: no errors, binary produced

- [ ] **Step 5: Code review**

Invoke `/review`. Fix all Critical and Important issues before committing.

- [ ] **Step 6: Commit**

```bash
svn commit -m "feat: [description]"
```

No Placeholders

These are plan failures — never write them:

  • "TBD", "TODO", "implement later"
  • "Add appropriate error handling" / "handle edge cases"
  • "Similar to Task N" — always repeat the actual code
  • Steps that describe what to do without showing how
  • References to types or functions not defined in any task

Project-Specific Checks

Every plan must verify each new feature:

  • CmdId enum values are unique and non-overlapping
  • New CS/SC commands registered in CommandRegister.h via REGISTER_COMMAND
  • All subtraction uses SafeSub()
  • All map lookups use FindMapPtr (no raw .find())
  • setChanged() called after every data modification
  • sendResponse() only in CmdParser layer, never in Logic layer
  • All control flow bodies have full brace blocks on separate lines

Self-Review

After writing the complete plan:

  1. Coverage — can you point to a task for every requirement in the spec?
  2. Placeholders — search for any of the failure patterns above
  3. Consistency — do function names used in later tasks match their definitions in earlier tasks?

Fix issues inline, then offer execution:

"Plan saved to docs/plans/<filename>.md. Ready to execute — I'll work through each task with /implement, requesting code review after each task. Proceed?"

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.