本文へ移動
cccskills
無料GitHub で公開

feature-pages

The page contract for any feature: front door, /all list, /new create page, record pages, sub-features, derived breadcrumbs. Use when adding, moving or renaming a route or menu entry, building a list, create or record page, adding a create popup or window, writing breadcrumbs, or bringing a feature or domain to the standard.

日本語の概要は準備中です。原文の説明を表示しています。

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

<!-- SYNCED COPY — do not edit here. Canonical: common-docs/skills/feature-pages/SKILL.md This file is distributed to every consuming repo by common-docs/meta/scripts/sync_skills.py. Edit the canonical, run the sync, and commit each repo. Edits made here are overwritten and lost. -->

feature-pages — every feature has the same pages

<!-- rules:stamp -->

Rules from common-docs/policies/feature-pages.md — edit there, never here (python3 common-docs/meta/scripts/one_home.py --write).

  1. Every feature declares a kind (collection, workspace, tool) and has exactly that kind's pages; a missing or extra page fails pnpm check:feature-pages (matrx-frontend). Existing gaps sit in a shrink-only baseline; a new feature has none.
  2. The list lives at /all, built on EntityListPage. /<feature> is the front door: guests see the marketing page, signed-in people are redirected to /all on the server.
  3. Create is a page. Every collection has /<feature>/new. A quick create is the same shared create body inside the window panel component, with "Open full page"; a second create form anywhere is a defect.
  4. A container is the only thing that comes before a feature in an address. Never add a domain word to an address that has no container.
  5. Every page declares its surface (manifest + surfaceName) so agents can see and work on it; a page with no surface fails the guard.
  6. Page tops are templates only: ModuleLanding, EntityListPage, RecordPageHeader, or the full-bleed workspace header (features/shell/FEATURE.md § Page-top templates).
  7. Breadcrumbs are derived, never typed. One breadcrumb builds the trail from the address, the domain tree and the menu, in pretty names, with one override list for routes that need a different label. A record crumb shows the record's key, else its name column (platform.entity_types.title_column), else the last characters of its id with the one copy-id component. Every crumb opens its siblings in a dropdown (the Scopes and Admin pattern). A hand-typed trail fails the guard.
  8. Each menu entry points at a front door or /all, never at a bespoke page; renaming or moving a page updates the menu, links and breadcrumbs in the same commit.
<!-- rules:stamp-end -->

Contract and reasons: common-docs/policies/feature-pages.md.

Procedure

  1. Find the feature in the domain tree and its kind (collection, workspace, tool). Not in the tree? Ask, never invent a feature.
  2. Reuse before building. Model pages: /agents (front door → /agents/all), /agents/all (EntityListPage), /projects/new (one shared create body: by hand, AI guide, paste; same body in CreateProjectWindow), any RecordPageHeader page.
  3. Build exactly the kind's pages, each on its template, each with a surface manifest.
  4. Breadcrumbs: never pass a hand-written trail. Record pages supply only the record (key, name or id); the shell derives the rest.
  5. Move, never fork. When a list moves from /<feature> to /all, the old address becomes the front door; update every menu entry, link and redirect in the same commit (git grep the old href).
  6. Run pnpm check:feature-pages and pnpm check:page-top, then open each page signed out and signed in.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Admin debug system wiring for the floating AdminIndicator's live debug data and Copy Full Context. Use when adding debug visibility to a route or feature, wiring useDebugContext or the debug panel, capturing console errors, or enabling the copy-context workflow for a page.

日本語の概要は準備中です。原文の説明を表示しています。

armanisadeghi/ai-matrx42026年10月23日 更新

Compact two-icon Copy / Copy-for-AI controls (components/agent-copy). Use when adding copy buttons to a row, card, list, or record; merging duplicate Copy/JSON/AI controls; continuing the copy rollout; or writing a Copy-for-AI payload. NOT for markdown content actions (use rich-document-actions).

日本語の概要は準備中です。原文の説明を表示しています。

armanisadeghi/ai-matrx42026年10月23日 更新

Disclosing a surface's existing fixed AI jobs in the shell's top Agents menu. Use when a page, panel, overlay, or window already runs a mandate behind a button, assist, automatic action, or mode; when the agent-disclosure guard names a file; or during a surface check.

日本語の概要は準備中です。原文の説明を表示しています。

armanisadeghi/ai-matrx42026年10月23日 更新

The method for getting a cheaper model to match an agent's big-model answers by fixing instructions, inputs and setup. Use when asked to move an agent to a smaller or cheaper model, prove one model beats another, or compare models on an agent's test cases.

日本語の概要は準備中です。原文の説明を表示しています。

armanisadeghi/ai-matrx42026年10月23日 更新

The watch-fix-rerun method for making an existing platform agent or automated process efficient and correct: baseline its ledger, run one unit yourself, fix the class behind every wasted call, rerun, record. Use when asked to improve, optimize, watch, or 'make efficient' an agent, a sandbox session, a sync job, or any recurring automated process.

日本語の概要は準備中です。原文の説明を表示しています。

armanisadeghi/ai-matrx42026年10月23日 更新

Redux state for agent execution and firing agent shortcuts. Use when editing features/agents/redux/, building agent UI, creating a conversation, touching assembleRequest or NDJSON stream state, wiring agent-state selectors, adding a per-conversation capability, or triggering a shortcut from a button, menu, or code (useShortcutTrigger, launchAgentExecution).

日本語の概要は準備中です。原文の説明を表示しています。

armanisadeghi/ai-matrx42026年10月23日 更新

armanisadeghi のスキルをすべて見る

このスキルの問題を報告する