development-flow

development-flow is a cursor rule for Cursor from KazunariNakayama/raycast-extensions. It costs 421 tokens per session, scanned A, original, MIT.

A development rule for Raycast extensions that divides work into three stages: define the specification, create the code structure, then implement the details. Raycast extensions are small apps that add commands to the Raycast launcher.

In plain words
What is it for?
Use it to plan extension work, define input and output contracts, create components and services, add tests, and run the listed pre-commit checks.
Why use it?
It provides a repeatable order for development and checks that help catch type, lint, test and build problems before committing.

Cursor rule for Cursor

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 rules/kazunarinakayama/raycast-extensions/development-flow
Clone the repo
git clone --depth 1 https://github.com/KazunariNakayama/raycast-extensions

Made for: Cursor.

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 development-flow

README.md
[![agentmods](https://agentmods.dev/badge/rules/kazunarinakayama/raycast-extensions/development-flow.svg)](https://agentmods.dev/rules/kazunarinakayama/raycast-extensions/development-flow)
Your own site
<a href="https://agentmods.dev/rules/kazunarinakayama/raycast-extensions/development-flow"><img src="https://agentmods.dev/badge/rules/kazunarinakayama/raycast-extensions/development-flow.svg" alt="Measured on agentmods" height="20"></a>
Per session 421 This file is loaded in full into every session.
When invoked 421 The same file — it is already loaded in full.
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.00421 $0.00421
Opus 5 $0.00211 $0.00211
Sonnet 5 $0.00084 $0.00084
Haiku 4.5 $0.00042 $0.00042

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

Security

Grade A, and why

development-flow 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 4d 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.

.cursor/rules/development-flow.mdc · 46 lines

What it actually says

Development Flow (Spec → Scaffold → Fill)

開発の流れ

1. SPEC(仕様)

  • 要件を明確にする
  • I/O 契約を定義(zod スキーマ)
  • UI/UX フローを決定
  • エラーケースを洗い出す

2. SCAFFOLD(骨組み)

  • ファイル・フォルダ構成を作成
  • 空のコンポーネント・Hook・サービスを型とともに作成
  • エクスポート/インポートを整理
  • package.json に依存関係を追加

3. FILL(実装)

  • ロジックを実装
  • テストを追加(services, hooks 中心)
  • 新しいパターンが生まれたら Rules を更新

編集の原則

  • 関数/コンポーネント単位で編集
  • diff を最小限に保つ
  • 変更理由をコメントで明示(必要に応じて)
  • 1 つの PR で 1 つの機能/修正

テスト戦略

  • services/hooks/ のロジックをテスト
  • Raycast UI コンポーネントは最小限のテストに留める
  • @raycast/api は必要最小限を手動モック
  • カバレッジは 70%以上を目指す

コミット前チェックリスト

  • pnpm typecheck が通る
  • pnpm lint が通る(または pnpm lint --fix で修正)
  • pnpm test が通る
  • ray build がエラーなく完了
  • 秘匿値がハードコードされていない
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. 4d ago First seen · 46 lines · 421 tokens per session scan A 05702efcc6a1

Subscribe to this mod's changes

development-flow is a cursor rule published in the GitHub repository KazunariNakayama/raycast-extensions (2 stars, last pushed 9mo ago), licensed MIT. It adds 421 tokens to every session, about $0.0021 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.