本文へスキップ
Skillpedia
インターフェース(UI/UX)56k · #3284

shade-page-header

できること

このスキルは、AIエージェントがShadeのPageHeaderのルールを使い、ページ上部のヘッダーを作るよう案内します。一貫したヘッダーがほしい管理画面の開発者向けです。

使う場面

  • ✓新しい画面にページヘッダーを追加するとき。
  • ✓ページヘッダーのボタンやアクションを変更するとき。
  • ✓異なる画面サイズでヘッダーがどう動くかを確認したいとき。

スキルのリンク

https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-page-header/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-page-header/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“レポートページにヘッダーを追加してください。検索ボックス、フィルター、そして主要な「Export」ボタンを付けます。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、ページのアクションをアイコンボタン、副次的なボタン、そして1つの主要ボタンに分け、ドキュメント化されたスロットからヘッダーを組み立てます。変更の影響を受ける各状態でヘッダーを確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Shade page header

The rules live in the PageHeader design contract.

Docs links use https://shade.ghost.org. If the project's AGENTS.md says where Shade's docs are (another address, or a source folder), use that instead. Fetch web pages with curl -s.

Workflow

  1. Read the contract. Sort the screen's actions into icon-only utilities, labelled secondaries and an optional primary, and decide the order within each group, following Order and hierarchy.
  2. Compose the header from its Slots and the controls in Constructing controls. For the page around it, use shade-page-templates.
  3. Read PageHeader's current type declarations and any nearby header before implementing. Take appearance and spacing from the shared defaults.
  4. Exercise every state the change affects with Review a header.

Self-check

  • Every state in the review list that your change touches has been exercised.
  • Report which routes, widths and themes you verified, and fix failures before marking the header complete.
よくある質問

ボタンの順序はどう決めますか?

スキルは、アクションを3つのグループに分け、各グループ内の順序をデザインの取り決めに従って定めます。

ページ全体のレイアウトも扱いますか?

直接は扱いません。残りのページについては、ページテンプレートのスキルを案内します。

結果はどう確認しますか?

ルートや画面幅など、ヘッダーの状態を並べたレビューのリストを使って、変更を確認します。

詳細

作者による元の説明

Build or revise a page header with Shade's PageHeader contract. Use when adding a page header, changing its actions, or reviewing action order, search, filtering, dropdowns, tooltips or responsive behaviour in a header.

repo: TryGhost/Ghost

人気

GitHubのスター
56k
ランキング
#3284
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル