Frontend Featureのロゴ

Frontend Feature

組織
vstorm-co
frontend-feature

Build or change a page, view or data-driven feature in the Next.js frontend — a route under the dashboard, wiring UI to a backend endpoint, a Zustand store, a permission that must hide a control, or localized copy. Use for any work in frontend/src, including "the page renders but shows an empty state" and "this button should not be visible to a Viewer".

概要

公開者vstorm-co
リポジトリagenticos
スキル名frontend-feature
スター
137
フォーク
27
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Frontend — Next.js and React

Use the versions declared in frontend/package.json and the lockfile.

.claude/rules/frontend.md has the conventions. docs/architecture.md has the request path. This is the working layout and the traps.

Layout

Path
src/app/[locale]/(dashboard)/…The product: agents, chat, rag (knowledge bases + search; kb only redirects there), skills, vault, mcp-servers, runs, orgs, settings, admin, invitations, profile
src/app/[locale]/(auth)/…, auth/, onboarding/, legal/, shared/Everything else
src/app/api/…Route handlers that proxy to the backend (same-origin auth cookies)
src/lib/Typed API clients on api-client.ts, server-api.ts, query-keys.ts
src/hooks/One per resource: use-agents, use-skills, use-permissions, …
src/stores/Zustand, one per concern, re-exported from index.ts
src/components/<domain>/UI by domain; primitives in components/ui/, empty/error in components/states/

Routes are locale-prefixed. There is no (marketing) group.

Steps

  1. Page — src/app/[locale]/(dashboard)/<feature>/page.tsx. Server Component by default; "use client" only for state, effects or handlers.
  2. Client — a typed module in src/lib/<feature>-api.ts built on api-client.ts. Never scatter fetch in components. Server-side reads go through server-api.ts.
  3. Query keys — register in src/lib/query-keys.ts so invalidation stays consistent.
  4. Hook — src/hooks/use-<feature>.ts wrapping the client, exported from hooks/index.ts. Components consume hooks, not clients.
  5. Store — only for UI/ephemeral state. Server data belongs in the query layer.
  6. Components — under src/components/<domain>/, composed from components/ui/. Under ~100 lines; extract when they grow.
  7. i18n — every user-facing string through next-intl. Never hardcode copy.
  8. Verify:
    bash
    cd frontend && bun run type-check && bun run lint && bun run test

Permissions hide controls, and that needs a test

use-permissions.ts reads the effective permission set for the active organization. A control the caller may not use should not be rendered — not rendered-and-then-403.

Write the integration test. *.integration.test.tsx runs Testing Library against a mocked API and is the cheap, precise place to assert that a permission actually hides a button and that a form submits what it claims to. See components/agents/capability-settings.integration.test.tsx, components/teams/members-table.integration.test.tsx, components/mcp/mcp-server-list.integration.test.tsx.

This is not E2E work. Reserve Playwright for journeys crossing the whole stack — see the e2e-tests skill.

The empty-state trap

Every dashboard page fans out to several queries and renders its empty state when a query fails. "No skills yet" and "the skills request answered 502" are the same pixels. So:

  • When a page looks empty, check the network tab before the component.
  • A test that asserts a heading and a button passes against a backend that was never started. Assert on data.

Tests

bash
bun run test          # vitest watch
bun run test:run      # once
bun run test:coverage
bun run test:e2e      # playwright — see the e2e-tests skill

Unit tests sit beside the source (agent-spec.test.ts, auth-store.test.ts); integration tests are *.integration.test.tsx.

Generated files

src/lib/brand-glyphs.generated.ts is written by bun run gen:brand-icons, which fetches every brand mark the console draws — services and connectors from Simple Icons and Font Awesome, model providers from @lobehub/icons-static-svg — and bakes them in as raw SVG path data. It is the only source of a brand mark: BrandIcon, brandMark(name) and ProviderIcon read it, and nothing else. Adding a mark is a row in BRANDS or PROVIDERS in scripts/gen-brand-icons.ts plus a re-run — not an icon package, and not a hand-authored d. This replaced react-icons and @lobehub/icons in #156: 199 MB installed for 89 marks whose artwork the generator fetches from the same upstream sets, byte for byte.

src/lib/mcp-logos.generated.ts is written by bun run gen:mcp-logos, which fetches each catalog server's favicon and bakes it in as a base64 data URI so the demo MCP badge renders in a self-contained HTML export with no network. Do not hand-edit it — regenerate after changing mcp_servers.json.

Neither is hand-edited, and make lint will not catch it if you do — the guard is that both files say so at the top and both regenerate deterministically, so a hand edit is lost on the next run.

That is separate from the backend icon contract (app/core/catalog/icons/<name>.svg, served as a currentColor silhouette) — see the project-docs and mcp-connections skills.

よくある質問

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

Build or change a page, view or data-driven feature in the Next.js frontend — a route under the dashboard, wiring UI to a backend endpoint, a Zustand store, a permission that must hide a control, or localized copy. Use for any work in frontend/src, including "the page renders but shows an empty state" and "this button should not be visible to a Viewer".

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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