add-feature

add-feature is a command for Claude Code from go4cas/quiver. It costs 0 tokens per session (598 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

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.

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

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.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.svg" alt="Measured on agentmods" 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 598 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00598
Opus 5 $0.00000 $0.00299
Sonnet 5 $0.00000 $0.00120
Haiku 4.5 $0.00000 $0.00060

Measured 3d ago against content hash 5dba6055cc57, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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 using createStore(reactive). 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 npm 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:

npm run typecheck && npm test && npm run test:e2e

Arrow.js rules (apply throughout)

  • Wrap reactive values in () => inside templates
  • No <!-- --> HTML comments inside html`...` template literals
  • Use aria-disabled + CSS for disabled states, never .disabled="${...}"
  • Use .key(uniqueId) on components rendered inside loops
  • Annotate exported functions and props with JSDoc @param/@returns — strict checkJs is enforced and untyped params fail npm run typecheck

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. 3d 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 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 598 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.