framework/core/commands/update/SKILL.md
Reconcile project-owned AGENTS.md, CLAUDE.md, and scaffolded artifacts with the current flowai framework templates.
npx skillsauth add korchasa/flow updateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Reconcile project-owned flowai artifacts with the currently installed framework templates. This command does not manage the flowai CLI, does not sync or rewrite installed primitives, and does not adapt skills or agents. CLI lifecycle belongs to the standalone flowai CLI repository. Primitive adaptation belongs to adapt.
Project-owned artifacts:
AGENTS.mdCLAUDE.md when it is a project compatibility file or symlinkRead-only framework sources:
.{ide}/assets/AGENTS.template.md.{ide}/skills/update/assets/AGENTS.template.md~/.claude/assets/AGENTS.template.md or ~/.codex/assets/AGENTS.template.mdIf project-local flowai primitives exist under .{ide}/skills/, .{ide}/agents/, hooks, or scripts, this command reports that they can be adapted with adapt. It must not rewrite them.
</context>
<step_by_step>
Detect scope and arguments
--all -> check instructions and scaffolded artifacts.--instructions -> check only AGENTS.md / CLAUDE.md.--scaffolds -> check only known scaffolded project artifacts..claude/, .cursor/, .opencode/, .codex/.Locate AGENTS template sources (for --instructions / --all)
.claude/skills/update/assets/AGENTS.template.md.cursor/skills/update/assets/AGENTS.template.md.opencode/skills/update/assets/AGENTS.template.md.codex/skills/update/assets/AGENTS.template.md*/skills/update/assets/AGENTS.template.md when visible in the project..claude/assets/AGENTS.template.md.cursor/assets/AGENTS.template.md.opencode/assets/AGENTS.template.md.codex/assets/AGENTS.template.md~/.claude/assets/AGENTS.template.md~/.cursor/assets/AGENTS.template.md~/.config/opencode/assets/AGENTS.template.md~/.codex/assets/AGENTS.template.mdRead project instructions artifacts
./AGENTS.md.AGENTS.md is missing, stop and tell the user to run init first. Do not create a new root file here../CLAUDE.md:
AGENTS.md, it is up to date.AGENTS.md.AGENTS.md; propose replacing it with a symlink only after showing the diff/risk.Compare template against project artifact
AGENTS.md.{{PROJECT_NAME}} and {{TOOLING_STACK}}.documents/AGENTS.md, scripts/AGENTS.md) -> propose collapsing them into root AGENTS.md.Proactive Resolution.Check scaffolded artifacts (for --scaffolds / --all)
SRSSDS.devcontainer/devcontainer.json.devcontainer/Dockerfile.devcontainer/init-firewall.sh.devcontainer/setup-container.shdeno.jsonscripts/check.tsDetect local primitives but do not adapt them
.{ide}/skills/flowai-*.{ide}/skills/* matching installed framework primitive names.{ide}/agents/* matching installed framework agent namesPropose changes
CHECK step, explain that skipping it leaves formatter, linter, and regression failures undetected after GREEN.Apply approved changes
Verify
git diff -- AGENTS.md CLAUDE.md <resolved-SRS> <resolved-SDS> .devcontainer deno.json scripts/check.ts limited to touched files.</step_by_step>
development
Use when the user asks to add TypeScript strict-mode code-style rules to AGENTS.md for a TypeScript project using strict mode. Do NOT trigger for Deno projects (use setup-agent-code-style-deno) or non-strict TS configurations.
development
Use when the user asks to add Deno/TypeScript code-style rules to AGENTS.md, or during initial Deno project setup when code-style guidelines need to be established. Do NOT trigger for non-Deno TypeScript projects (use setup-agent-code-style-strict), or for runtime-agnostic style advice.
testing
Use when the user provides a source (URL, file path, or free text) to save into the project's memex — a long-term knowledge bank for AI agents. Stores the raw source, extracts entities into cross-linked pages, runs a backlink audit, and updates the index and activity log. Do NOT trigger on casual reads; only when the intent is to persist a source into the memex.
development
Use when the user asks to audit a memex (long-term knowledge bank for AI agents) for orphans, dead SALP REFs, missing sections, contradictions, or index drift. Runs a deterministic structural check, layers LLM-judgement findings, optionally auto-fixes trivial issues with `--fix`. Do NOT trigger on general code linting.