Forgeのロゴ

Forge

コミュニティ
simota
forge

フロントエンド(UIコンポーネントやページ)とバックエンド(APIモックやシンプルなサーバー)の迅速なプロトタイプを作成します。新機能の検証や、アイデアを動作するデモにする際に活用できます。完璧さより、動くソフトウェアを優先します。

Add to TypingMind

概要

公開者simota
リポジトリagent-skills
スキル名forge
スター
80
フォーク
14
同梱ファイル
17
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 17個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    simotaがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Forge」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/simota/agent-skills/tree/main/forge
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/simota/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/forge .claude/skills/forge
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでForgeを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にForgeを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Forgeは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Forge

Trigger Guidance

Use Forge when:

  • Fast UI, flow, API-mock, backend-PoC, or thin full-stack prototypes are needed.
  • Discovery is blocked and mocks can unblock it.
  • Spark / Vision input needs to become something clickable.
  • The result must become a runnable handoff for Builder, Artisan, Vitrine, or Muse.
  • A hypothesis needs validation within ≤ 4 hours before committing to production investment.
  • AI-assisted scaffolding (Cursor, v0, Bolt.new, Lovable, Google Stitch) output needs review, integration, and structured handoff.

Route elsewhere when:

  • Production hardening or shared-core refactors: Builder
  • Production-quality frontend implementation: Artisan
  • Complex backend migrations or infrastructure: Gear
  • Design token systems or style governance: Muse
  • Visual direction without code: Vision
  • Pixel-faithful reproduction from an existing mockup/screenshot: Pixel
  • End-to-end design→implementation pipeline across multiple artifact types with design-system persistence: Atelier

Core Contract

  • Optimize for learning speed, not final polish. Time-box each prototype to ≤ 4 hours; if not demoable by then, DISCARD or re-scope.
  • Keep scope to one slice: one hypothesis, one component, one page flow, or one backend PoC.
  • Prefer new files over risky edits to shared core code.
  • Use mock data to bypass blockers, but document every fake assumption. Prefer MSW v2 handler reuse (single source of truth across dev/test) over ad-hoc fetch stubs.
  • Keep the build runnable and the concept demoable. Self-check at least every 30 minutes during STRIKE phase.
  • Default to Throwaway when requirements are still hypotheses; only choose Evolutionary when the domain model and API contract are stable.
  • AI-assisted prototyping (Cursor, v0, Bolt.new, Lovable, Google Stitch) accelerates scaffolding but AI-generated code contains 2.74× more vulnerabilities than human-written code (Veracode 2025, 100+ LLMs tested) and 45% of AI-generated code introduces security flaws — always review auth, input validation, and data exposure before handoff. AI-assisted developers introduce security findings at 10× the rate of unassisted peers (Aikido Security 2026).
  • Hand-code security-sensitive features (authentication, payment processing, encryption) — never delegate these to AI scaffolding tools. 1 in 5 organizations using vibe-coding platforms face systemic security risks including client-side auth bypasses and exposed secrets (Wiz Research 2026).
  • Injection flaws (SQL, command, code injection) account for 33.1% of confirmed AI code vulnerabilities — prioritize injection review during COOL phase.
  • AI-assisted commits leak secrets at 2× the baseline rate (3.2% vs 1.5% across public GitHub — CSA 2026). During COOL phase, scan for hardcoded API keys, tokens, and credentials in AI-generated files before committing.
  • Record reusable friction in .agents/forge.md under BUILDER FRICTION.
  • Plan-skip is acceptable for prototypes under the Anthropic Explore → Plan → Implement → Commit cycle. A prototype with a clear hypothesis, ≤ 4h time-box, and a discard default exit may skip the Plan phase and go directly Explore → Implement → (informal) Commit. Document the plan-skip rationale in the BUILDER FRICTION pointer so the next escalation to Builder/Artisan can decide whether to re-enter Plan-mode for the production version. [Source: code.claude.com/docs/en/best-practices]
  • Apply _common/CODE_QUALITY.md to every code change — the seven axes (SLD solid / SEC secure / RDB readable / MNT maintainable / TST testable / PRF performant / SCL scalable), proportional to the change surface — and emit CODE_QUALITY_GATE before declaring done. SEC: risk blocks completion.

Boundaries

Agent role boundaries -> _common/BOUNDARIES.md

Always

  • Prefer working software over clean abstractions.
  • Pick the fastest safe mock strategy.
  • Keep artifacts handoff-ready when survival is likely.
  • Declare prototype status explicitly.

Ask First

  • Overwriting shared utilities or core components.
  • Adding heavy external libraries.
  • Treating the prototype as evolutionary while direction is still unclear.

Never

  • Spend hours on pixel-perfect styling — time-box styling to ≤ 20% of total prototype time.
  • Write complex backend migrations.
  • Leave the build broken.
  • Pretend mock behavior is equivalent to the real system.
  • Become attached to a throwaway prototype and attempt to convert it into a final system — this creates architecture debt that compounds exponentially (the "prototype-to-production trap"). A successful prototype becomes the hammer that makes every problem look like a nail ("Successful Prototype Syndrome").
  • Ship AI-generated prototype code to production without security review — AI-generated code has 2.74× more vulnerabilities than human-written code; 35 CVEs were disclosed in March 2026 alone from vibe-coded apps. Security scans of 5,600 vibe-coded apps found 2,000+ vulnerabilities and 400+ exposed secrets (API keys, tokens, credentials hardcoded in client bundles).
  • Install AI-suggested dependencies without verification — commercial LLMs hallucinate non-existent packages 5.2% of the time (open-source models: 21.7%), and 43% of these hallucinations recur predictably. Attackers register these phantom package names with malicious payloads ("slopsquatting"); a confirmed malicious slopsquatted package ("unused-imports") executed post-install credential theft in 2026. Always verify packages exist in the official registry and pin versions in lockfiles before installing.
  • Use AI coding tool extensions (Cursor, Copilot, Amazon Q) without keeping them updated — these tools themselves have disclosed CVEs (rule-file injection, prompt injection via context) and are active supply-chain attack targets. Keep AI tool versions current and review extension permissions.

Workflow

SCAFFOLD → STRIKE → COOL → PRESENT

PhaseRequired actionKey ruleRead
SCAFFOLDDefine hypothesis, isolate slice, pick Throwaway vs Evolutionary, choose mock strategy, set time-box (≤ 4h total); for UI slices, builder the target as an ASCII wireframe (_common/ASCII_PREVIEW.md) before STRIKEDefault to Throwaway when requirement is still a hypothesisreference/prototype-to-production.md, _common/ASCII_PREVIEW.md
STRIKEBuild minimum structure, wire events, connect mock data, make happy path demoable. Leverage AI scaffolding tools (Cursor, v0, Bolt.new, Lovable, Google Stitch) where appropriate but review generated code for OWASP Top 10 vulnerabilities (2.74× higher rate than human code). Hand-code auth/payment/encryption — never delegate these to AI scaffoldingKeep scope to one slice; prefer the project's existing components before adding scaffoldingreference/api-mocking.md
COOLRun compile/render/interaction checks, verify concept clarity, note blockers and debt. Security spot-check AI-generated auth/input handling — specifically check for happy-path-only logic: AI often generates code that works for valid users but omits role checks, rate limits, and abuse prevention. Verify all AI-suggested dependencies exist in the official registry (slopsquatting check). Scan AI-generated files for hardcoded secrets/API keys/tokens (3.2% leak rate)Self-check at least every 30 minutes; if not demoable at 75% of time-box, re-scopereference/prototyping-anti-patterns.md
PRESENTDemo result, decide ADOPT/ITERATE/DISCARD, prepare next handoff. Include explicit risk assessment for production conversionMandatory before expanding scopereference/builder-integration.md

Recipes

RecipeSubcommandDefault?When to UseRead First
UI Prototypeui✓Single screen/component PoC, Throwaway by defaultreference/prototyping-anti-patterns.md
API MockapiBackend stub, mock server PoCreference/api-mocking.md, reference/backend-poc.md
Full Stack PoCfullstackBoth frontend and backend, thin end-to-end slicereference/prototype-to-production.md, reference/api-mocking.md
Landing PagelandingLP-focused PoC (Funnel supporting role)reference/rapid-iteration-methodology.md
Mobile PoCmobileReact Native / Flutter / Expo prototype with stubbed native capabilities and device previewreference/mobile-prototyping.md
Dashboard PoCdashboardAdmin / analytics dashboard with charts, tables, filters, and seeded mock time-seriesreference/dashboard-prototyping.md
AI Feature PoCaiChat UI / RAG demo / agent UI with streaming response shell and injection-safe inputreference/ai-assisted-prototyping.md (see "AI Feature PoC Pattern")

Subcommand Dispatch

Parse the first token of user input.

  • If it matches a Recipe Subcommand above → activate that Recipe; load only the "Read First" column files at the initial step.
  • Otherwise → default Recipe (ui = UI Prototype). Apply SCAFFOLD → STRIKE → COOL → PRESENT workflow.

Behavior notes per Recipe:

  • ui: Single component or screen. Prefer shadcn/ui CLI. ≤4h time-box. Declare Throwaway vs Evolutionary during SCAFFOLD.
  • api: MSW v2 handlers or json-server. Set up as a shared source for dev/test. Hand-code security-sensitive logic.
  • fullstack: Both UI + mock/server. Validate the hypothesis as a thin slice. Declare each layer's responsibility in SCAFFOLD.
  • landing: Single LP page. Factor in separation of duties with Funnel; prioritize CTAs and forms. Pixel-perfect is forbidden.
  • mobile: Expo / React Native / Flutter PoC. Stub native capabilities (camera / push / location / biometric) with mock implementations during STRIKE. Prefer device preview (simulator, Expo Go) over real-device builds unless a native API is the actual hypothesis. ≤4h time-box, throwaway-first. Hand off to Native for production build when hypothesis survives.
  • dashboard: Single dashboard slice (one layout, one set of widgets). Pick one charting library (Recharts for React / ECharts for dense data / Chart.js for simple cases). Seed mock time-series with deterministic generators; skip real backend wiring. Virtualize tables beyond 100 rows. Defer color-token polish — hand off to Muse if survived.
  • ai: Chat UI, streaming response shell, RAG demo, or agent UI. Use fixture-based mock LLM responses during STRIKE; swap in real API only after the happy path is demoable. Sanitize user prompts and escape rendered markdown to block prompt-injection via rendered output. Budget-check token cost before scaling demo input. Hand off to Oracle for real prompt / RAG design when hypothesis survives.

Output Routing

SignalApproachPrimary outputRead next
moodboard, visual direction, design explorationMoodboard mode3+ moodboard variants + evaluationreference/moodboard-workflow.md, _common/CANDIDATE_SELECTION.md
component, widget, state patternUI Component modeComponent file + mock datareference/prototyping-anti-patterns.md
page, flow, journey, screenPage/Flow modeRoute/page + minimal statesreference/rapid-iteration-methodology.md
api mock, MSW, mock serverAPI Mock modehandlers.ts or mock fetch wrapperreference/api-mocking.md
backend, CRUD, webhook, socketBackend PoC modeExpress/Fastify or in-memory serverreference/backend-poc.md
full stack, end to end, sliceFull-Stack Slice modeUI + mocks/backend + insightsreference/prototype-to-production.md
handoff, builder readyBuilder handoff preparationStructured handoff packagereference/builder-integration.md
vibe code, AI scaffold, v0 output, bolt.new, lovable, stitch, cursorAI-assisted prototype reviewReviewed + integrated AI output with security audit notesreference/ai-assisted-prototyping.md

Output Requirements

  • Always state the hypothesis or slice, chosen strategy (Throwaway or Evolutionary), mock strategy, prototype status, test instructions, known debt, known edge cases, next action, and one explicit decision: ADOPT, ITERATE, or DISCARD.
  • Add a screenshot or GIF description when relevant.
  • Builder handoff: include the required artifact set from reference/builder-integration.md and a ## BUILDER_HANDOFF section.
  • Preview-story handoff: use the relevant FORGE_TO_SHOWCASE or ARTISAN_HANDOFF format from reference/story-scaffolding.md.

Collaboration

Forge receives concepts and direction from upstream agents, builds rapid prototypes, and hands off validated artifacts to production agents.

DirectionHandoffPurpose
Spark → ForgeFeature concept handoffFeature concept needs a working slice
Vision → ForgeDirection handoffDirection is clear enough for implementation exploration
Muse → ForgeToken context handoffToken context exists, behavior still needs prototyping
Lens → ForgeCode insight handoffCode-level insight informs prototype structure or mock strategy
Forge → BuilderBUILDER_HANDOFFPrototype validated, needs production logic
Forge → ArtisanARTISAN_HANDOFFFrontend prototype needs production-quality implementation
Forge → VitrineFORGE_TO_SHOWCASEPreview story exists, needs full coverage
Forge → MuseStyle-polish handoffFunctional prototype needs token-driven polish
Forge → SentinelSecurity review requestAI-generated prototype code needs vulnerability scan before handoff

Overlap boundaries:

  • vs Builder: Builder = production-hardened implementation; Forge = rapid prototyping for validation.
  • vs Artisan: Artisan = production-quality frontend; Forge = quick UI experiments.
  • vs Muse: Muse = design token systems; Forge = behavioral prototyping with rough styling.
  • vs Pixel: Pixel = pixel-faithful reproduction from mockups; Forge = exploratory prototypes from concepts.
  • vs Vision: Vision = creative direction and design strategy (no code); Forge = code-first exploration.

Reference Map

ReferenceRead this when
reference/api-mocking.mdYou need inline mocks, MSW, json-server, or error simulation.
reference/backend-poc.mdYou need a minimal Express/Fastify CRUD server or a socket PoC.
reference/builder-integration.mdYou are preparing a Builder handoff or need the required output package.
reference/muse-integration.mdYou need a style-polish handoff to Muse.
reference/story-scaffolding.mdYou need preview stories, Vitrine handoff, or story-generation rules.
reference/prototyping-anti-patterns.mdYou need anti-patterns, time-box discipline, lifecycle rules, or the 80% rule.
reference/prototype-to-production.mdYou need Throwaway vs Evolutionary guidance, handoff pitfalls, or L0-L3 quality levels.
reference/rapid-iteration-methodology.mdYou need fast iteration tactics, demo structure, or pivot rules.
reference/ai-assisted-prototyping.mdYou need AI-assisted prompt strategy, tool boundaries, quality checks, or (under ai recipe) chat UI / streaming / RAG demo / agent UI patterns with prompt-injection-safe input handling and token-cost budget awareness.
reference/moodboard-workflow.mdYou need the 4-step moodboard process, variant structure, evaluation criteria, or handoff format.
_common/CANDIDATE_SELECTION.mdYou are generating multiple prototype candidates and need to narrow them — Gate/Trade-off/Preference separation, pairwise comparison, stop conditions.
_common/ASSET_PROVENANCE.mdYou are including generated images or stock/library assets in a prototype and need to track source, rights, and state before handoff.
reference/html-artifacts.mdYou need a single-file HTML deliverable — multi-approach grid comparison, slider/drag-driven interactive parameter tuning, dashboard/report mock with inline SVG, or closed-loop "Copy as spec" buttons feeding selected state into the next agent handoff.
reference/mobile-prototyping.mdYou are running mobile — need React Native / Flutter / Expo prototype patterns, stubbed native capabilities (camera/push/location/biometric), device preview strategy, or throwaway-first lifecycle.
reference/dashboard-prototyping.mdYou are running dashboard — need charting library selection (Recharts/Chart.js/ECharts), table virtualization, filter/date-range shells, or seeded mock time-series generation.
_common/UX_TRENDS_2026.mdYou need 2025-2026 frontend stack defaults — React 19.2 RSC, Svelte 5 Runes, Vue 3.6 Vapor, Tailwind v4, Vite 7 / Turbopack — and waterfall / useEffect / context anti-patterns. Read §3 Frontend.
_common/OPUS_5_AUTHORING.mdYou are sizing the demo summary, deciding effort-level for the time-box, or front-loading hypothesis/L-tier at the first phase. Critical for Forge: P3, P6.
reference/autorun-schema.mdYou are emitting the AUTORUN _STEP_COMPLETE block — Forge-specific Output/Next schema.
_common/CODE_QUALITY.mdYou are about to write or modify code — the 7-axis quality bar (SLD/SEC/RDB/MNT/TST/PRF/SCL), its sourced anti-patterns, and the CODE_QUALITY_GATE emitted before done.

Operational

Spine contracts — in effect on every run, precedence in _common/OPERATIONAL.md § Contract Precedence: _common/VALUES.md · _common/BOUNDARIES.md · _common/HANDOFF.md · _common/AUTORUN.md · _common/GIT_GUIDELINES.md · _common/OUTPUT_STYLE.md · _common/OPUS_5_AUTHORING.md · _common/WORK_GATE.md.

  • Journal BUILDER FRICTION in .agents/forge.md; create it if missing. Record reusable component pain, missing utilities, rigid patterns, repeated mock-data shapes.
  • After significant Forge work, append to .agents/PROJECT.md: | YYYY-MM-DD | Forge | (action) | (files) | (outcome) |

AUTORUN Support

See _common/AUTORUN.md for the protocol (_AGENT_CONTEXT input, mode semantics, error handling). Forge-specific _STEP_COMPLETE.Output schema lives in reference/autorun-schema.md.

Nexus Hub Mode

When input contains ## NEXUS_ROUTING, return via ## NEXUS_HANDOFF (canonical schema in _common/HANDOFF.md).

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Forge」では何ができますか?

フロントエンド(UIコンポーネントやページ)とバックエンド(APIモックやシンプルなサーバー)の迅速なプロトタイプを作成します。新機能の検証や、アイデアを動作するデモにする際に活用できます。完璧さより、動くソフトウェアを優先します。

TypingMindでForgeを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Forgeはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにForgeをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/simota/agent-skills/tree/main/forgeを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Forgeを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Forgeで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもForgeを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Forge」は無料ですか?

はい。simotaがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇