spec

spec is a command for Claude Code from chohra-med/expo_boilerplate. It costs 0 tokens per session (276 once invoked), scanned A, original, MIT.

A command that turns a rough feature brief into a structured, testable specification describing what should be built. The specification covers the problem, user requests, acceptance checks, exclusions, and constraints without prescribing implementation details.

In plain words
What is it for?
Writing feature specifications from briefs or files, defining true-or-false acceptance criteria, recording out-of-scope work, and documenting project constraints.
Why use it?
It gives the development process a clear statement of the intended result before design or coding begins. Checkable criteria make it possible to verify whether the feature is complete.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Writing feature specifications from briefs or files, defining true-or-false acceptance criteria, recording out-of-scope work, and documenting project constraints.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/chohra-med/expo_boilerplate/spec
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/chohra-med/expo_boilerplate

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 spec

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/chohra-med/expo_boilerplate/spec"><img src="https://agentmods.dev/badge/commands/chohra-med/expo_boilerplate/spec.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 276 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.00276
Opus 5 $0.00000 $0.00138
Sonnet 5 $0.00000 $0.00055
Haiku 4.5 $0.00000 $0.00028

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

Security

Grade A, and why

spec 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.

.claude/commands/spec-harness/spec.md · 25 lines

What it actually says

Command: spec — brief → structured spec (the WHAT)

Intent is the source of truth. Turn a rough brief into a testable one-pager the rest of the pipeline feeds on. Stable "what", no "how".

Invocation

spec-harness spec --feature <slug> --from "<brief or path>"

Writes specs/<NNN>-<slug>/spec.md.

The spec must contain

  • Problem — one paragraph. What's broken / needed and for whom.
  • User stories / requests — the concrete asks, each phrased so it's checkable.
  • Acceptance criteria — bullet list, every item literally true/false. This is what the goal.md end-state is derived from.
  • Out of scope — name what you are deliberately NOT building. (Senior signal: the scary part that isn't in scope.)
  • Constraints — perf bounds, deps policy, "runs on a clean machine", deadline.

Rules

  • No implementation detail. If you're naming files or functions, you've drifted into design.
  • If an acceptance criterion can't be phrased as a check, rewrite it until it can — or move it to out-of-scope. The verifier can only check checkable things.
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 · 25 lines · 0 tokens per session scan A 30fc5f2f3093

Subscribe to this mod's changes

spec is a command published in the GitHub repository chohra-med/expo_boilerplate (32 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 276 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.

Related

Other commands, from other repositories

arc-skill

You are scaffolding a new React Native (Expo) project using the arc-skill architecture.

art9mid/arc-skill · 0 tokens

arc-connect

Connect API layer, storage, state management, authentication, and i18n to an existing React Native Expo project. Use after arc-scaffold to add backend integration. Trigger when the user mentions adding API calls, auth flow, login, storage, state management, internationalization, backend connection, or data fetching to…

art9mid/arc-skill · 70 tokens

arc-scaffold

Scaffold a new React Native Expo project with folder structure, dependencies, TypeScript config, linting, and navigation shell. Use when starting a new mobile app from scratch, when the user says 'create a new app', 'start a project', 'set up React Native', 'init Expo app', or needs project boilerplate. Trigger this…

art9mid/arc-skill · 83 tokens

arc-ui

Add theme system, reusable components, screen layouts, and mobile UX design to a React Native Expo project. Use after arc-scaffold to build the visual layer. Trigger when the user wants to add a theme, dark mode, UI components, buttons, inputs, screen layouts, design system, or visual polish to their React Native app.

art9mid/arc-skill · 70 tokens

arc-audit

Audit a React Native Expo project for mobile UX issues, performance problems, and architecture violations. Use to check code quality against arc-skill best practices. Trigger when the user asks to review code, check for issues, wants a health check, mentions touch targets, accessibility, performance audit, or says 'is…

art9mid/arc-skill · 76 tokens

arc-feature

Add a complete new feature domain to an existing React Native Expo project — types, API module, React Query hooks, screen, and components in one go. Use when adding a new entity like products, orders, chat, users, recipes, or any CRUD resource. Trigger when the user says 'add a feature', 'create a new screen for X'…

art9mid/arc-skill · 94 tokens