web-ready

A command that checks and updates a project’s CLAUDE.md file with web-development rules. CLAUDE.md is a project instruction file read by an AI coding assistant.

In plain words
What is it for?
It helps prepare project instructions for TypeScript web development, including rules for semicolons, arrow functions, explicit types, avoiding any, import order, and absolute imports.
Why use it?
It prevents important coding conventions from being missing, incomplete, or unclear. This gives web work a consistent set of rules for language, types, imports, and style.

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/breakds/claude.bds/web-ready
Clone the repo
git clone --depth 1 https://github.com/breakds/claude.bds
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 352 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.00352
Opus 5 $0.00000 $0.00176
Sonnet 5 $0.00000 $0.00070
Haiku 4.5 $0.00000 $0.00035

Measured yesterday against content hash 3b9b91b83666, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

web-ready 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 yesterday.

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.

bds-dev/commands/web-ready.md · 40 lines

What it actually says

Prepare CLAUDE CODE with Web Development Context

Task

Read the project’s CLAUDE.md. Ensure all web development rules below are present. If some are missing or partially present, reorganize and update CLAUDE.md so every rule is included clearly and unambiguously.

Web Development Rules

Language & Syntax

  1. Use TypeScript only (no plain JavaScript).
  2. Omit unnecessary semicolons—that is, do not add semicolons at statement ends unless required.
  3. Prefer arrow functions (const f = () => ...) for concise, inline code and callbacks. Use function declarations for named or top-level functions where this or hoisting matters.

Typing & Imports

  1. Always use explicit types, especially for function parameters and return values. Annotate returns and arguments when it improves readability.

  2. Avoid any. Use unknown or properly constrained generics instead—unknown forces safe type narrowing.

  3. Organize imports in this order:

    • react
    • third-party libraries
    • local modules
  4. Support absolute imports in .ts/.tsx files, e.g.:

    import '@/components/MarkdownPreviewPanel'
    

    resolves to src/components/MarkdownPreviewPanel.tsx.

React & Components

  • In React components, always destructure props directly in function parameters.
  • Keep README.md updated with essential information about React components—especially view or UI-related ones.

Documentation

  • Document important functions, classes, and React components with inline docstrings or comments for clarity and maintainability.
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. yesterday First seen · 40 lines · 0 tokens per session scan A 3b9b91b83666

Subscribe to this mod's changes

web-ready is a command published in the GitHub repository breakds/claude.bds (2 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 352 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.