dev

A main development command for Astro and Starlight projects, tools for building websites and documentation sites. It creates or changes components, pages, and other project features, then checks the result.

In plain words
What is it for?
Use it to build components, fix bugs, add features, and choose light or comprehensive validation with the audit option.
Why use it?
It combines task understanding, relevant coding guidance, implementation, and validation in one workflow, with the amount of checking matched to the task.

Command

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/superbenefit/sb-marketplace/dev
Clone the repo
git clone --depth 1 https://github.com/superbenefit/sb-marketplace
Per session 20 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,542 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.00020 $0.01542
Opus 5 $0.00010 $0.00771
Sonnet 5 $0.00004 $0.00308
Haiku 4.5 $0.00002 $0.00154

Measured 2d ago against content hash 6eaa90a024df, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dev 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 2d 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.

astro-dev/commands/dev.md · 244 lines

How it starts

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

/dev Command

The primary development command for Astro and Starlight projects. Handles everything from simple components to complex features with intelligent validation.

Usage

/dev [description of what to build]
/dev [description] --audit=off          # Skip validation
/dev [description] --audit=light        # Quick validation (5 checks)
/dev [description] --audit=comprehensive # Full validation (50+ checks)

Description

The /dev command loads the astro-coding skill (best practices, patterns, critical rules) and implements your request. It automatically validates code based on task complexity, or you can control validation with the --audit flag.

What It Does

  1. Understands Your Request: Analyzes what needs to be built
  2. Loads Relevant Patterns: Brings in only the patterns you need (components, routes, collections, etc.)
  3. Implements Code: Writes clean, standards-compliant Astro/Starlight code
  4. Validates: Checks against critical rules and best practices
  5. Returns Result: Complete implementation ready to use

Examples

Create a Component

/dev Add a Footer component with social links and copyright

Result: Footer.astro with proper TypeScript types, accessibility, and styling

Build a Feature

/dev Add a blog with categories and pagination

Result: Content collection, dynamic routes, category pages, pagination component

Fix Issues

/dev Fix all TypeScript errors in the components folder

Result: All type errors resolved following Astro best practices

Complex Implementation

/dev Create a multi-language content system with external data integration

Result: Custom loaders, i18n routing, data transformation, full implementation

Configuration

/dev Add Tailwind CSS integration to the project

Result: Updated astro.config with Tailwind, installed packages, example styles

Auto-Validation

By default, /dev validates your code automatically:

Read the full file on GitHub · 244 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. 2d ago First seen · 244 lines · 20 tokens per session scan A 6eaa90a024df

Subscribe to this mod's changes

dev is a command published in the GitHub repository superbenefit/sb-marketplace (5 stars, last pushed 7mo ago), licensed CC0-1.0. It adds 20 tokens to every session and 1,542 once invoked, about $0.0001 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-31.