agentleFS
rumotionrumotion/ai-agent-project-template/.claude/skills/project-upgrader/SKILL.md

project-upgrader

Skill1 starsChanged 2 months agoMITView on GitHub

Upgrades an existing target project to the latest AI Agent Project Template version. Use when asked to upgrade another project, port template updates, or bring an existing repository up to date with the latest template logic, skills, workflows, adapters, and validation tools without altering or breaking existing project scripts, tests, assets, or domain logic.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

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

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill whenever asked to upgrade an existing repository/project using the latest version of the AI Agent Project Template.

    line 8
  2. Distinctive:

    Run a dry-run to preview planned modifications:

    line 23
  3. Very specific:

    Read target AGENTS.md and .agents/skills/ to verify custom domain rules and custom domain skills to preserve.

    line 27
  4. Distinctive:

    Run fast template validation in target:

    line 43
  5. Distinctive:

    Run benchmark self-test and hook verification in target:

    line 47
  6. Distinctive:

    Verify target application test files compile/pass cleanly:

    line 52

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

Project Upgrader Skill

Use this skill whenever asked to upgrade an existing repository/project using the latest version of the AI Agent Project Template.

Core Directives

[!IMPORTANT]

  1. Zero Damage to Existing Project Domain Code: Never overwrite, delete, or alter custom application code, test scripts (test_*.py, *.spec.ts, etc.), project assets, extraction logic, authentication configs (*.json, .env), or custom domain skills (e.g., kumo-canvas).
  2. Preserve Custom AGENTS.md Rules: Always retain project-specific domain rules found in the target repository's AGENTS.md (e.g. database safety rules, test board rules).
  3. Context Budget Enforcement: Ensure target AGENTS.md stays <= 6,500 chars and memory-bank/handoff.md stays <= 1,200 chars to satisfy FAST_INIT budget checks.

Upgrade Execution Procedure

Step 1: Preflight & Dry-Run

  1. Identify target project path (e.g. ../existing-project).
  2. Run a dry-run to preview planned modifications:
    python scripts/upgrade-target.py --target <target-path> --dry-run
  3. Read target AGENTS.md and .agents/skills/ to verify custom domain rules and custom domain skills to preserve.

Step 2: Automated Framework Upgrade

  1. Execute the automated upgrade tool:
    python scripts/upgrade-target.py --target <target-path>
    This automatically:
    • Preserves custom domain rules in AGENTS.md while merging latest canonical instructions, falsifiable predictions, escalation ladder, and bimodal execution.
    • Synchronizes multi-agent adapters (GEMINI.md, CLAUDE.md, CONVENTIONS.md, .windsurfrules, .codex/AGENTS.md, .cursor/rules/agents.mdc, .github/copilot-instructions.md, .clinerules/, .agents/rules/).
    • Synchronizes 10 workflows across workflows/, .agents/workflows/, .clinerules/workflows/.
    • Synchronizes standard skills across .agents/skills/, .claude/skills/, .cline/skills/ while preserving custom domain skills intact.
    • Copies safety hooks, reviewer contracts, documentation, and validation scripts (scripts/check-template.py, scripts/init-fast.py, scripts/detach-remote.py, scripts/benchmark-context.py, scripts/upgrade-target.py).
    • Updates Memory Bank schemas to schema v2 while keeping project history.

Step 3: Verification & Health Check

  1. Run fast template validation in target:
    python <target-path>/scripts/check-template.py --fast
  2. Run benchmark self-test and hook verification in target:
    python <target-path>/scripts/benchmark-context.py --self-test
    python <target-path>/scripts/hooks/verify-fixtures.py
  3. Verify target application test files compile/pass cleanly:
    python -m py_compile <test_files>

Step 4: Commit Upgraded Target

  1. Stage and commit upgraded framework files in target repository:
    git add AGENTS.md GEMINI.md CLAUDE.md CONVENTIONS.md .codex/ .cursor/ .github/ .clinerules/ .agents/ .claude/ .gemini/ docs/ workflows/ scripts/ benchmarks/ memory-bank/ .gitignore
    git commit -m "feat(template): upgrade framework to latest AI Agent Project Template"

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.