Skip to content
Back to skills

Cfd Upgrade

ASecurity

Upgrade this project's CFD artifacts: read the installed version from the skills and the scaffold, fetch the CFD changelog, show what changed since, and apply each release's Upgrade steps in order after the user approves. Invoke explicitly; it changes committed files.

  • 19 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 16, 2026
ai-agentsbashgit

Works with

  • claude code

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro scans all 2 files and shows the line behind each finding

Scanned November 16, 2026

npx -y skills add albertomarturelo/sii --skill cfd-upgrade --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cfd Upgrade?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cfd Upgrade
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/albertomarturelo-cfd-upgrade/badge)](https://www.skillsdirectory.com/skills/albertomarturelo-cfd-upgrade)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cfd-upgrade
description: "Upgrade this project's CFD artifacts: read the installed version from the skills and the scaffold, fetch the CFD changelog, show what changed since, and apply each release's Upgrade steps in order after the user approves. Invoke explicitly; it changes committed files."
disable-model-invocation: true
metadata:
  cfd-version: "0.4.0"
  token-budget: "~1,500 plus the changelog entries read (~300 each)"
---

Upgrade the CFD skills and scaffold of this repository to the latest
release, one changelog entry at a time. Nothing is changed before the
user approves the plan.

1. **Installed version.** Run:

   ```bash
   grep -h '^  cfd-version:' .agents/skills/*/SKILL.md | sort | uniq -c
   grep -h 'CFD version:' CLAUDE.md .claude/hooks/*.sh .github/workflows/*.yml 2>/dev/null | sort | uniq -c
   ```

   One version everywhere is the installed version. Several versions
   mean a partial upgrade: the installed version is the lowest. No
   stamp at all means a release older than 0.3.0: treat it as 0.2.0 if
   `.agents/skills/` exists, 0.1.0 if procedures live in
   `.claude/commands/`.

2. **Latest version and changelog.** Fetch:

   ```bash
   curl -fsSL https://raw.githubusercontent.com/albertomarturelo/context-first-development/main/.claude-plugin/plugin.json | grep '"version"'
   curl -fsSL https://raw.githubusercontent.com/albertomarturelo/context-first-development/main/CHANGELOG.md
   ```

   If both versions match, say so and stop. Otherwise keep only the
   entries newer than the installed version.

3. **Show the plan, then wait.** For each pending entry, oldest first:
   its version, its Added/Changed/Removed lines, and its Upgrade steps
   verbatim. Flag every step that touches a file this project has
   edited since installing it (`git log --oneline -- <path>` shows
   commits other than the install). Ask for an explicit yes before
   step 4.

4. **Apply, oldest entry first.** Run each Upgrade step as written.
   Three rules override any step:
   - `CLAUDE.md`, `AGENTS.md` and `docs/` are the project's own
     context: apply the described edit by hand, never overwrite them.
   - A hook, workflow or skill the project edited: show the diff
     against the new template and let the user choose per file.
   - Skills installed through the Claude Code plugin (`/cfd:*`) or
     `npx skills add` are updated by their installer, as the entry
     says; apply only the scaffold steps here.

5. **Verify and commit.** The checks from step 1 must print one
   version, the latest. Then run `/validate-context`. Commit the
   upgrade on its own, with the versions crossed and the entries
   applied in the message, and no code changes mixed in.

Do not skip an intermediate entry: a later release assumes the earlier
Upgrade steps ran. Do not downgrade. If the changelog cannot be fetched,
stop and say so; do not guess the steps.

Files in this skill

  • SKILL.md2.8 KB
  • agents/openai.yaml244 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.