fec-plan

fec-plan is a command for Claude Code from bovinphang/frontend-craft. It costs 52 tokens per session (945 once invoked), scanned A, original, MIT.

A front-end planning command that creates either an implementation plan or a test plan based on what the user asks for. It reviews the project’s code, rules, configuration, and tests before planning.

In plain words
What is it for?
Planning component changes, page splits, migrations, directory structures, data flows, architecture work, test coverage, test layers, and risk-based testing.
Why use it?
It helps turn a vague front-end change into clear work, files, architecture, data flow, and testing decisions before coding begins.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the frontend-craft plugin — 56 skills, 11 commands, 14 agents, 5 hooks, 6 MCP servers shipped together

Good fit Planning component changes, page splits, migrations, directory structures, data flows, architecture work, test coverage, test layers, and risk-based testing.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/bovinphang/frontend-craft/fec-plan
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/bovinphang/frontend-craft

Made for: Claude Code.

Or install frontend-craft, the plugin that ships this one along with the rest of its 56 skills, 11 commands, 14 agents, 5 hooks, 6 MCP servers.

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 fec-plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/bovinphang/frontend-craft/fec-plan.svg)](https://agentmods.dev/commands/bovinphang/frontend-craft/fec-plan)
Your own site
<a href="https://agentmods.dev/commands/bovinphang/frontend-craft/fec-plan"><img src="https://agentmods.dev/badge/commands/bovinphang/frontend-craft/fec-plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 945 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.00052 $0.00945
Opus 5 $0.00026 $0.00473
Sonnet 5 $0.00010 $0.00189
Haiku 4.5 $0.00005 $0.00094

Measured 7d ago against content hash 9abd6b5671cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

fec-plan 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 7d 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.

commands/fec-plan.md · 94 lines

How it starts

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

Create a front-end plan before changing the code. Automatically divert traffic to implementation planning or test planning based on user intent.

Intent recognition

  • Implementation Planning (default): Users need to dismantle components, design data flows, arrange directory structures, migration steps, and architecture plans.
  • Test Planning: The user clearly states "test plan", "test strategy", "coverage matrix", "test layering", "what to test", "risk-to-test", etc.
  • Mixed: Users have both implementation and testing requirements.

If the intention is unclear, first ask the user if they want to see the implementation plan or test strategy.

Implementation planning path

  1. Restate user goals, success criteria, and out-of-scope content.
  2. Read relevant codes, templates, rules, configurations, tests and existing implementations to avoid deviating from the current status of the project.
  3. If it involves page splitting, state flow, directory structure, data flow or large-scale reconstruction, entrust fec-architect.
  4. Output plan:
    • Scope of influence
    • Key files or modules
    • Architecture and module boundaries
    • Data flow/state flow/API interaction
    • Implementation phase
    • Rollback or gradual migration strategy
    • Risks and Mitigation
    • Minimal verification access (lint, type-check, test, build, E2E or manual acceptance)
  5. For decisions related to version sensitivity, dependency upgrades or external libraries, list the source of fact, version range, migration impact and documents that need to be verified.
  6. Implementation is not performed until user confirmation.

The implementation plan is saved to reports/architecture-proposal-YYYY-MM-DD-HHmmss.md.

Test planning path

  1. Determine the scope:
    • When users specify functions, PRs, files or business processes, this scope shall prevail.
    • When not specified by the user, view recent changes and infer the main risk areas.
    • If the user wants module splitting, state flow, directory structure or migration steps, return to the implementation planning path.

Read the full file on GitHub · 94 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. 7d ago First seen · 94 lines · 52 tokens per session scan A 9abd6b5671cc

Subscribe to this mod's changes

fec-plan is a command published in the GitHub repository bovinphang/frontend-craft (21 stars, last pushed 5d ago), licensed MIT. It adds 52 tokens to every session and 945 once invoked, about $0.0003 per session on Opus 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-30.