ai-sdlc-workflow: Command for Claude Code

.cursor/commands/workflow-eval.md

workflow-eval is a command for Claude Code, Cursor from phuoctrung-ppt/ai-sdlc-workflow. It costs 18 tokens per session (351 once invoked), scanned A, original, MIT.

A workflow-review command that evaluates a plan, code change, or feature against project rules and acceptance criteria, then saves a review document. An agentic workflow is a process where different agents plan, implement, and judge work.

In plain words
What is it for?
Use it to review plans or diffs, inspect relevant project configuration and architecture documents, check protected files and evidence, and write findings under docs/reviews/.
Why use it?
It provides a durable record of whether the work followed the required roles, security checks, tests, documentation, and handoff process.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md). Also seen: mentions AGENTS.md.

This is phuoctrung-ppt/ai-sdlc-workflow's own configuration. It tells Claude Code and Cursor how to work on ai-sdlc-workflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-sdlc-workflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to phuoctrung-ppt/ai-sdlc-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/phuoctrung-ppt/ai-sdlc-workflow/master/.cursor/commands/workflow-eval.md
Clone the repo
git clone --depth 1 https://github.com/phuoctrung-ppt/ai-sdlc-workflow

Made for: Claude Code, Cursor.

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 workflow-eval

README.md
[![agentmods](https://agentmods.dev/badge/commands/phuoctrung-ppt/ai-sdlc-workflow/workflow-eval/github.svg)](https://agentmods.dev/commands/phuoctrung-ppt/ai-sdlc-workflow/workflow-eval)
Your own site
<a href="https://agentmods.dev/commands/phuoctrung-ppt/ai-sdlc-workflow/workflow-eval"><img src="https://agentmods.dev/badge/commands/phuoctrung-ppt/ai-sdlc-workflow/workflow-eval/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 workflow-eval

Your own site · 80×15
<a href="https://agentmods.dev/commands/phuoctrung-ppt/ai-sdlc-workflow/workflow-eval"><img src="https://agentmods.dev/badge/commands/phuoctrung-ppt/ai-sdlc-workflow/workflow-eval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 351 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.00018 $0.00351
Opus 5.5 $0.00007 $0.00140
Sonnet 5.5 $0.00004 $0.00070
Haiku 4.5 $0.00002 $0.00035

Measured 1mo ago against content hash 44acf2e9e794, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

workflow-eval 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 1mo 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.

.cursor/commands/workflow-eval.md · 42 lines

What it actually says

Act as Judge Agent with the workflow integrity checklist. Always write a durable artifact under docs/reviews/, whether this command was invoked manually or by a protected-change hook.

Evaluate: {plan_or_diff_or_feature}

Inputs to inspect:

  • AGENTS.md
  • Standards docs from .cursor/config/workflow-policy.json, usually AGENTS.md
  • Relevant docs/plans/* or docs/adr/*
  • Relevant .cursor/agents/*, .cursor/rules/*, .cursor/commands/*
  • Git diff or specified implementation files

Process:

  1. Run context-builder for review: python3 .cursor/context/context-builder.py --phase review --task "{plan_or_diff_or_feature}" --agent judge-agent --keywords "workflow,judge,security,tenant,test" --budget 5000
  2. Verify the result against acceptance criteria and the handoff packet.
  3. Check the shared protected classifier in .cursor/config/protected-paths.json; do not accept agent self-classification.
  4. Check role boundaries: planner planned, workers implemented, judge stayed read-only.
  5. Check evidence quality: commands, tests, docs, ADRs, security/privacy/data/AI/infrastructure/domain gates.
  6. Write findings to docs/reviews/YYYY-MM-DD-workflow-eval-{slug}.md.

Output:

Status: GOOD | NEEDS_OPTIMIZATION | BLOCKED

## What Works

## Gaps
- [severity] file:line — issue

## Required Optimizations

## Evidence Reviewed

## Recommended Cursor Config Changes
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. 1mo ago First seen · 42 lines · 18 tokens per session scan A 44acf2e9e794

Subscribe to this mod's changes

workflow-eval is a command published in the GitHub repository phuoctrung-ppt/ai-sdlc-workflow (2 stars, last pushed 1mo ago), licensed MIT. It adds 18 tokens to every session and 351 once invoked, about $0.0001 per session on Opus 5.5. 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-08-31.