fec-scaffold

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

A command that creates the agreed folder structure and starter files for a page, feature, or component in a React or Vue project.

In plain words
What is it for?
Use it to create items such as a UserDetail page, a payment feature, or a DataTable component with the project's expected structure.
Why use it?
It removes repetitive setup work and keeps new parts of the project organized. It also checks the project's framework before scaffolding.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

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

Good fit Use it to create items such as a UserDetail page, a payment feature, or a DataTable component with the project's expected structure.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/bovinphang/frontend-craft/fec-scaffold/github.svg)](https://agentmods.dev/commands/bovinphang/frontend-craft/fec-scaffold)
Your own site
<a href="https://agentmods.dev/commands/bovinphang/frontend-craft/fec-scaffold"><img src="https://agentmods.dev/badge/commands/bovinphang/frontend-craft/fec-scaffold/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 fec-scaffold

Your own site · 80×15
<a href="https://agentmods.dev/commands/bovinphang/frontend-craft/fec-scaffold"><img src="https://agentmods.dev/badge/commands/bovinphang/frontend-craft/fec-scaffold.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,171 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.01171
Opus 5 $0.00000 $0.00585
Sonnet 5 $0.00000 $0.00234
Haiku 4.5 $0.00000 $0.00117

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

Security

Grade A, and why

fec-scaffold 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 9d 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-scaffold.md · 205 lines

How it starts

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

Create new pages, features or components according to the directory structure agreed upon by the project.

Dependencies and versions

If this scaffolding involves adding or recommending package.json dependencies, follow the "version and dependency" conventions in the project .claude/rules/fec-react.md or .claude/rules/fec-vue.md; if there is no corresponding rule in the project, priority will be given to mainstream stable versions that are compatible with each other (align with official documents, scaffolding default values or package manager recommendations).

Parameter analysis

Parse two arguments from $ARGUMENTS:

  • type: page | feature | component (required)
  • name: module name, using PascalCase (required)

If a parameter is missing, a usage example is prompted and the user is asked to add:

Usage: /fec-scaffold <type> <Name>
Example:
  /fec-scaffold page UserDetail
  /fec-scaffold feature payment
  /fec-scaffold component DataTable

Execution steps

1. Detection project framework

Check package.json for dependencies:

  • Contains react → React project
  • Contains vue → Vue project
  • None → Prompt user to specify manually

2. Detect project conventions and determine target paths

Check src/, app/, pages/, features/, components/, __tests__/, tests/, vitest.config.*, jest.config.*, playwright.config.* and existing component naming. Give priority to reusing existing directories of the project; only use the default path when there is no existing agreement:

  • page → src/pages/<Name>/
  • feature → src/features/<name>/ (name is converted to kebab-case)
  • component → src/components/<Name>/

If the target directory already exists, the user is prompted to confirm whether to continue.

3. Create directories and files

Depending on the frame and type, create the following structures:

React page
src/pages/<Name>/
├── <Name>Page.tsx
├── components/
│ └── .gitkeep
└── hooks/
    └── .gitkeep

Read the full file on GitHub · 205 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. 9d ago First seen · 205 lines · 0 tokens per session scan A 04553c9ddc42

Subscribe to this mod's changes

fec-scaffold is a command published in the GitHub repository bovinphang/frontend-craft (21 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,171 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-08-30.