add-feature

add-feature is a command for Claude Code from go4cas/quiver. It costs 0 tokens per session (603 once invoked), scanned A, original, MIT.

A guided command for adding a feature to a Quiver app, a JavaScript application framework. It plans the needed pages, state stores, components, navigation links, and end-to-end tests before implementation.

In plain words
What is it for?
Use it for features such as a blog or shopping cart. It can create state modules, reusable components, pages, navigation changes, and tests after approval.
Why use it?
It helps break a feature into the app's expected files and routes before code is written. The process requires the developer to confirm the plan first.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { useMeta } from '../framework/index.js'.

Good fit Use it for features such as a blog or shopping cart. It can create state modules, reusable components, pages, navigation changes, and tests after approval.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/go4cas/quiver
agentmods
npx agentmods add commands/go4cas/quiver/add-feature

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 add-feature

README.md
[![agentmods](https://agentmods.dev/badge/commands/go4cas/quiver/add-feature/github.svg)](https://agentmods.dev/commands/go4cas/quiver/add-feature)
Your own site
<a href="https://agentmods.dev/commands/go4cas/quiver/add-feature"><img src="https://agentmods.dev/badge/commands/go4cas/quiver/add-feature/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 add-feature

Your own site · 80×15
<a href="https://agentmods.dev/commands/go4cas/quiver/add-feature"><img src="https://agentmods.dev/badge/commands/go4cas/quiver/add-feature.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 603 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.00603
Opus 5.5 $0.00000 $0.00241
Sonnet 5.5 $0.00000 $0.00121
Haiku 4.5 $0.00000 $0.00060

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

Security

Grade A, and why

add-feature 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.

.claude/commands/add-feature.md · 57 lines

How it starts

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

Add a new feature to this Quiver app: $ARGUMENTS

The argument is a feature name and optional brief description (e.g. blog — list and read blog posts, cart — add items and checkout).

Follow this process:

Step 1 — Plan (do this first, before writing any code)

Analyse the feature request and produce a short plan covering:

  • Pages needed — list each route and its purpose
  • State module(s) needed — list each store and its key data/actions
  • Component(s) needed — list any new reusable components
  • Nav links — does MenuLayout sidebar need a new link?
  • Tests — what E2E scenarios cover the happy path?

Present the plan to the developer and wait for confirmation before proceeding.

Step 2 — Implement

Execute the plan in this order:

  1. State module(s) — create src/state/<name>.js as a module-scope reactive({...}) object. Export as singleton. See existing src/state/userState.js as the reference pattern.

  2. Component(s) — create each in src/components/<Name>.js; import them directly from their files where used (there is no barrel).

  3. Pages — create each in src/pages/<path>.js. Structure:

    import { html } from '@arrow-js/core'
    import { useMeta } from '../framework/index.js'
    export const meta = { layout: 'menu', title: 'Page Title' }
    function FeaturePage() {
      useMeta({ title: 'Page Title' })
      return html`...`
    }
    export default FeaturePage
    
  4. Nav link — if needed, add a Link entry to src/layouts/MenuLayout.js matching the pattern of existing nav links.

  5. E2E test — create tests/e2e/<feature>.test.js covering the main user flow. Use role-based Playwright selectors; add data-testid attributes where needed.

Step 3 — Verify

Run bun run dev and confirm the feature works end-to-end in the browser. Then run the full gate and fix any failures before reporting done:

bun run typecheck && bun run test && bun run test:e2e

Arrow.js rules (apply throughout)

Read the full file on GitHub · 57 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. 1mo ago Changed 1a7d9e038a47
  2. 2mo ago First seen · 57 lines · 0 tokens per session scan A 5dba6055cc57

Subscribe to this mod's changes

add-feature is a command published in the GitHub repository go4cas/quiver (5 stars, last pushed 20d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 603 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-31.