implement-revalidate

implement-revalidate is a command for Claude Code from dean0x/devflow. It costs 0 tokens per session (1,257 once invoked), scanned A, original, MIT.

A procedure for rechecking code changes after the developer has made their own edits. It follows the project's validation steps without asking a coding agent to implement the changes again.

In plain words
What is it for?
Use it to re-run quality checks, review, alignment checks, testing, evidence collection, and pull-request preparation for changes already made.
Why use it?
It reduces the risk of validating the wrong branch or skipping checks after manual changes. It also identifies the changed files before running the required review and tests.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to re-run quality checks, review, alignment checks, testing, evidence collection, and pull-request preparation for changes already made.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dean0x/devflow/implement-revalidate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/dean0x/devflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for implement-revalidate

README.md
[![agentmods](https://agentmods.dev/badge/commands/dean0x/devflow/implement-revalidate/github.svg)](https://agentmods.dev/commands/dean0x/devflow/implement-revalidate)
Your own site
<a href="https://agentmods.dev/commands/dean0x/devflow/implement-revalidate"><img src="https://agentmods.dev/badge/commands/dean0x/devflow/implement-revalidate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for implement-revalidate

Your own site · 80×15
<a href="https://agentmods.dev/commands/dean0x/devflow/implement-revalidate"><img src="https://agentmods.dev/badge/commands/dean0x/devflow/implement-revalidate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,257 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01257
Opus 5.5 $0.00000 $0.00503
Sonnet 5.5 $0.00000 $0.00251
Haiku 4.5 $0.00000 $0.00126

Measured 29d ago against content hash c45bcb3b8a7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

implement-revalidate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/assets/skills/agent-references/references/commands/implement-revalidate.md · 18 lines

How it starts

The opening of the file, as written. The whole thing — 18 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Implement: re-validation

Read by /implement when the user asks to re-validate (D-CMD-REF-HAND).

Continuation path

When the user explicitly asks to re-validate, re-check, or re-run quality gates after making their own changes:

  1. Branch safety check: If on a protected branch (main, master, develop, etc.), run all of Phase 1, through its Fresh base. step, to create/switch to a work branch; "Phase 1 ran" below means all of it ran. If already on a work branch, skip Phase 1 and resolve {worktree} as its docs root does: run node "$HOME/.devflow/scripts/resolve-root.cjs" "{start}"; echo "exit=$?" and take the WORKTREE= path of an exit=0 answer, else the start directory.
  2. Skip Phase 2 — no Code agent needed, user already made changes. With no Code report, Phase 4 keeps Harden at every level: the harden-scope skip never applies on this path.
  3. Record BASE_BRANCH: unless Phase 1 ran, read the PR's base name (baseRefName) and fork flag in one Bash call, cd "{worktree}" && F="$(mktemp)" && echo "F=$F" && gh pr view --json isCrossRepository --jq .isCrossRepository; G=$?; gh pr view --json baseRefName --jq .baseRefName > "$F"; echo "gh=$G,$?"; {name file} is the printed F= path, and gh failed when either status printed in gh= is not 0. If gh failed and its output shows that no PR applies (none for the branch, gh missing or logged out, or no GitHub remote), the name is the remote default branch; fill the file: F="{name file}"; git -C "{worktree}" for-each-ref --format='%(symref:lstrip=3)' refs/remotes/origin/HEAD > "$F"; when the file reads as empty (a file whose only content is an empty line is empty), main if git -C "{worktree}" rev-parse --verify --quiet main succeeds, otherwise master the same way; write a literal name with the Write tool, after a Read of the file. If the Write tool fails, treat the value as missing; never write it with a shell command. Read {name file} with the Read tool: its one line is the name. Stop the run, after rm -- "{name file}", if gh failed and its output does not show that no PR applies, or the file is empty after every fallback. Stop the run, after rm -- "{name file}", unless the name matches ^(?![-#]|origin\/|(?:@|(?:FETCH_|ORIG_|MERGE_)?HEAD)$)(?!.*\.\.)[A-Za-z0-9._\/+@,#-]{1,200}$ (judge the match by reading; never pass the value to a command), naming only the allowed set, never the name (ASCII letters, digits and ._/+@,#-, at most 200; no leading - or #, no origin/ prefix, no .., not @ or a HEAD name). Phases 3-7 run {branch_diff} from BASE_REF, the fork point. Unless Phase 1 ran (its BASE_REF stands), run F="{name file}"; trap 'rm -- "$F"' EXIT; cd "{worktree}" && X=<isCrossRepository, else false> && node "$HOME/.devflow/scripts/resolve-base.cjs" pr --name-stdin --cross "${X}" < "$F"; echo "exit=$?" when gh returned a PR, else F="{name file}"; trap 'rm -- "$F"' EXIT; cd "{worktree}" && node "$HOME/.devflow/scripts/resolve-base.cjs" local --name-stdin < "$F"; echo "exit=$?". Handle its line as the fresh base step does. Output other than one BASE_REF= line (40 or 64 hex, or none) with exit=0 counts as REASON=resolver-unavailable: stop, with the fix re-run; if it repeats, run devflow init.
  4. Take GATE_LEVEL: unless Phase 1 ran, run the Phase 1 Resolve the settings line step once for this worktree, and take GATE_LEVEL from the line it accepts, or from its fail-closed line when it accepts none. Phase 6 passes GATE_LEVEL to Validate. Then, from that same line, the accepted one or the fail-closed one, set COMPLIANCE_FRAMEWORKS as Phase 1 defines it and COMPLIANCE_DIRECTIVE by the Phase 1 Set the compliance directive step; Phases 5-7 pass COMPLIANCE_DIRECTIVE to their Fix spawns. Run the Phase 1 Resolve the evidence policy once per run step, then take REVIEW_PUBLICATION from that same line by the Phase 1 Resolve REVIEW_PUBLICATION per worktree: step and the Phase 1 Evidence stub: step; Phase 11 passes REVIEW_PUBLICATION as the value resolved in Phase 1.
  5. Run Phases 3-8 — Polish (at full), Self-Review, Alignment, the one full Validate, QA Testing and the conditional Re-Validate, on the branch diff.
  6. Proceed to Phase 9 (Open PR), Phase 11 (Evidence) and Phase 12 (Report).

Read the full file on GitHub · 18 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago Changed c45bcb3b8a7e
  2. 1mo ago Changed d0435a745f9d
  3. 1mo ago Changed · +1 lines f36a5d3d6e39
  4. 1mo ago Changed · +1 lines ec4c28d016bb
  5. 1mo ago Changed d67fe86e0d92
  6. 1mo ago First seen · 16 lines · 0 tokens per session scan A 7c510c4fe3e1

Subscribe to this mod's changes

implement-revalidate is a command published in the GitHub repository dean0x/devflow (21 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,257 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-14.

Related

implement-revalidate compared with commands from other repositories

implement-revalidate next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
implement-revalidatedean0x/devflowCommand21yesterdayMITA0Claude Code
aligndsswift/ionCommand52d agoMITA51Claude Code
autocommitrandomittin/heimdallCommand53d agoMITA32Claude Code
hatch3r-pr-resolvehatch3r/hatch3rCommand262mo agoMITA25Claude Code
request-review-planaxiomantic/spellbookCommand135d agoMITA16Claude Code
afrvjayvee/aigonCommand271mo agoApache-2.0A25Claude Code
mergemeller/laneconductorCommand155d agononeA9Claude Code