wind: Instructions file for Claude Code

CLAUDE.md

wind CLAUDE.md is an instructions file for Claude Code from fluttersdk/wind. It costs 2,626 tokens per session, scanned A, original, MIT.

Project instructions for Wind UI, a Flutter styling system that turns Tailwind-style class strings into Flutter widgets.

In plain words
What is it for?
Use them when changing Wind UI code, documentation, tests, generated inventories, or other linked project surfaces.
Why use it?
They define the checks required before a change is considered finished and explain which project surfaces must be kept in sync.

Instructions file for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is fluttersdk/wind's own configuration. It tells Claude Code how to work on wind itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything wind configures →

Reuse

Borrowing it

Nothing to install: this file belongs to fluttersdk/wind. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fluttersdk/wind/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/fluttersdk/wind

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 wind CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/fluttersdk/wind/claude-md/github.svg)](https://agentmods.dev/instructions/fluttersdk/wind/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/fluttersdk/wind/claude-md"><img src="https://agentmods.dev/badge/instructions/fluttersdk/wind/claude-md/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 wind CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/fluttersdk/wind/claude-md"><img src="https://agentmods.dev/badge/instructions/fluttersdk/wind/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,626 This file is loaded in full into every session.
When invoked 2,626 The same file — it is already loaded in full.
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.02626 $0.02626
Opus 5.5 $0.01050 $0.01050
Sonnet 5.5 $0.00525 $0.00525
Haiku 4.5 $0.00263 $0.00263

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

Security

Grade A, and why

wind CLAUDE.md 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.md · 102 lines

How it starts

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

Wind UI

Utility-first Flutter styling. Translates Tailwind-syntax className strings into Flutter widget trees through a modular parsing pipeline.

Stack: Flutter >=3.27.0 · Dart >=3.4.0 · Runtime deps: flutter_svg, fluttersdk_wind_diagnostics_contracts. No mockito, no state management library, no router. Branch: master is the active 1.x stable line (formerly v1). The legacy v0 line lives on the v0 branch.

For architecture / internals, see ARCHITECTURE.md. For the user-facing surface, see README.md. For the LLM-agent inventory, see llms.txt.

Definition of done

A code change is not finished until ALL of these hold for the touched scope. The agent self-checks before reporting work complete:

  1. dart analyze reports zero issues, zero warnings on the touched files.
  2. dart format . produces no diff.
  3. flutter test reports zero failures (pre-existing skips noted, never new).
  4. ./tool/coverage.sh 90 exits 0 — total line coverage stays at or above 90%. If the change drops coverage, add tests in the same change set, do not lower the threshold.
  5. Every code change triggers the post-change sync below — skipping any of the four sub-surfaces is not optional.

The PostToolUse hooks in .claude/settings.json auto-run format + analyze after .dart edits, so steps 1-2 are mostly automatic in the edit loop. CI re-runs all four gates on push; they are not negotiable there.

Post-change sync (five surfaces, every code change)

When source under lib/ changes, the agent updates each of these in the same change set, BEFORE reporting the work done. Each surface has its own format and acceptance criterion — comply with all five; skipping is a bug.

1. doc/ — the user-facing markdown reference.

  • New or changed widget / parser / token / theme field: locate the matching file under doc/widgets/, doc/layout/, doc/styling/, etc. Format details live in .claude/rules/docs.md.
  • New widget: create doc/widgets/<w-name>.md mirroring the format of the nearest neighbor file (one # title, ToC, <x-preview> tag, Props table with Required/default/description columns, Constructor signature, Styling Examples, Related Documentation).
  • Removed surface: delete the doc file or mark deprecated; never leave a stale doc pointing at a removed API.
  • Acceptance: python3 tool/check-docs.py exits 0. It enforces the whole doc contract: one H1 per page and it is the opening line, relative .md targets, fragments, ToC-reachable anchors, <x-preview source> matching a real example/lib/pages/ file (sync surface #2 below), and <x-preview path> matching a route registered in example/lib/routes.dart.

Read the full file on GitHub · 102 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 · +74 tokens per session 1daaf7a4360f
  2. 2mo ago First seen · 102 lines · 2,552 tokens per session scan A af22bb3fbf39

Subscribe to this mod's changes

wind CLAUDE.md is an instructions file published in the GitHub repository fluttersdk/wind (44 stars, last pushed 4d ago), licensed MIT. It adds 2,626 tokens to every session, about $0.0105 per session on Opus 5.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-30.

Related

wind CLAUDE.md compared with instructions from other repositories

wind CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wind CLAUDE.mdfluttersdk/windInstructions file444d agoMITA2,626Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode