config/agents/skills/frontmatter/SKILL.md
任意のドキュメントに YAML Front Matter を追加し、ドキュメント検索を効率化するためのスキル。技術ドキュメント、設計書、メモ、タスク管理の4種類のテンプレートを提供。
npx skillsauth add kumewata/dotfiles frontmatterInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
任意のドキュメントに YAML Front Matter を追加し、構造化メタデータによる効率的な検索を可能にするスキルです。
このスキルは以下のタイミングで使用してください:
既存のドキュメントに YAML Front Matter を追加し、検索可能にします。
対象ドキュメントを読み込む
Read('<file_path>')
ドキュメントタイプを特定
ユーザーに以下から選択してもらう:
オプション: ドキュメントの内容から自動判別を提案(最終決定はユーザー)
Front Matter フィールドを記入
ユーザーに以下のフィールドを記入してもらう:
新規作成の場合(必須):
title: ドキュメントのタイトル(簡潔に)tags: カテゴリタグ(3-8個推奨)use_when: 参照すべき状況(最重要!)keywords: 固有名詞、API名、技術名既存ドキュメント更新の場合(最低限必須):
title: ドキュメントのタイトルuse_when: 参照すべき状況推奨フィールド:
tags: カテゴリタグkeywords: 固有名詞オプションフィールド:
related: 関連ドキュメントのリストstatus: draft, review, approved(design-doc のみ)completion: 0%-100%(task のみ)created_at と updated_at を自動設定
Edit ツールで Front Matter を挿入
ファイルの先頭に YAML Front Matter ブロックを挿入
テンプレートから新しいドキュメントを作成します。
ドキュメントタイプを選択
ユーザーに以下から選択してもらう:
テンプレートを読み込む
Read('~/.claude/skills/frontmatter/templates/<type>.md')
プレースホルダーを記入
ユーザーに以下を記入してもらう:
{タイトル}: ドキュメントのタイトル{カテゴリ}, {技術スタック}: タグ{状況1}, {状況2}: use_when の具体的な状況{キーワード}: 固有名詞、API名などcreated_at と updated_at を自動設定
Write ツールでファイルを作成
Write('<new_file_path>', content)
Nix Flakes の使い方, API 設計書[タグ1, タグ2, ...][設計, アーキテクチャ, Nix], [技術ドキュメント, API, REST]> で折り返し)use_when: >
このドキュメントを参照すべき状況:
- Nix Flakes の基本的な使い方を確認したいとき
- flake.nix の構造を理解したいとき
[キーワード1, キーワード2, ...][Nix, Home Manager, flake.nix], [REST API, OpenAPI, Swagger][design.md, requirements.md], [../setup/installation.md]draft, review, approvedstatus: draft0% - 100%completion: 75%YYYY-MM-DDcreated_at: 2026-02-23YYYY-MM-DDupdated_at: 2026-02-23対象ドキュメント:
推奨 tags:
[技術ドキュメント, <カテゴリ>, <技術スタック>][技術ドキュメント, API, REST], [技術ドキュメント, 環境構築, Nix]use_when の例:
use_when: >
このドキュメントを参照すべき状況:
- API の使い方を確認したいとき
- エラーコードの意味を調べたいとき
- 認証方法を確認したいとき
keywords の例:
[REST API, /users, OAuth2]対象ドキュメント:
推奨 tags:
[設計, アーキテクチャ, <技術スタック>][設計, アーキテクチャ, マイクロサービス], [設計, データベース, PostgreSQL]use_when の例:
use_when: >
このドキュメントを参照すべき状況:
- システムアーキテクチャの全体像を理解したいとき
- コンポーネント間の依存関係を確認したいとき
- 設計判断の理由を知りたいとき
keywords の例:
[UserService, CQRS, PostgreSQL]オプションフィールド:
status: draft / review / approved対象ドキュメント:
推奨 tags:
[メモ, <カテゴリ>][メモ, 会議], [メモ, 調査], [メモ, トラブルシューティング]use_when の例:
use_when: >
このドキュメントを参照すべき状況:
- 2026年2月の定例会議の内容を確認したいとき
- Nix のエラー対処法を調べたいとき
keywords の例:
[2026年2月定例会議, Nix, build error]対象ドキュメント:
推奨 tags:
[タスク管理, <プロジェクト名>, <フェーズ>][タスク管理, frontmatter実装, Phase1]use_when の例:
use_when: >
このドキュメントを参照すべき状況:
- frontmatter 実装の進捗を確認したいとき
- 次に着手すべきタスクを確認したいとき
keywords の例:
[frontmatter, テンプレート作成, SKILL.md作成]オプションフィールド:
status: pending / in-progress / completedcompletion: 0% - 100%---
title: Nix Flakes の使い方
tags: [技術ドキュメント, 環境構築, Nix]
use_when: >
このドキュメントを参照すべき状況:
- Nix Flakes の基本的な使い方を確認したいとき
- flake.nix の構造を理解したいとき
- Nix コマンドの実行方法を調べたいとき
keywords: [Nix, Flakes, flake.nix, nix run, nix build]
related: [installation.md, troubleshooting.md]
created_at: 2026-02-23
updated_at: 2026-02-23
---
---
title: マイクロサービスアーキテクチャ設計
tags: [設計, アーキテクチャ, マイクロサービス]
use_when: >
このドキュメントを参照すべき状況:
- システムアーキテクチャの全体像を理解したいとき
- サービス間通信の仕様を確認したいとき
- API Gateway の設計判断を知りたいとき
keywords: [UserService, OrderService, API Gateway, gRPC]
related: [api-design.md, data-flow.md]
status: review
created_at: 2026-02-23
updated_at: 2026-02-23
---
---
title: 2026年2月定例会議メモ
tags: [メモ, 会議]
use_when: >
このドキュメントを参照すべき状況:
- 2026年2月の定例会議の内容を確認したいとき
- 次回アクションアイテムを確認したいとき
keywords: [2026年2月, 定例会議, アクションアイテム]
created_at: 2026-02-23
updated_at: 2026-02-23
---
---
title: frontmatter スキル実装タスク
tags: [タスク管理, frontmatter実装, Phase1]
use_when: >
このドキュメントを参照すべき状況:
- frontmatter 実装の進捗を確認したいとき
- 次に着手すべきタスクを確認したいとき
keywords: [frontmatter, テンプレート作成, SKILL.md]
status: in-progress
completion: 50%
created_at: 2026-02-23
updated_at: 2026-02-23
---
--- で囲む(YAML 標準)use_when, not useWhen)> で折り返す[要素1, 要素2] または改行 + - 要素 形式use_when が最も重要なフィールドです。これにより「タイトルでは区別できない意図ベース検索」が実現します。
このスキルで追加した Front Matter は、doc-search エージェントで検索可能になります。
検索優先順位:
Front Matter 追加前に確認:
Front Matter 追加後に確認:
tools
Use when creating a new skill or making a substantial change to an existing skill and you also need to design, update, or review Waza-based executable evaluations. This includes deciding whether Waza is warranted, mapping `evals.json` cases into Waza tasks, choosing fixtures and graders, selecting a valid model with `waza models --json`, and running a local-first `waza run` workflow. Do NOT use for installing the Waza CLI itself or for general skill-authoring advice that does not involve Waza; use `skill-creator` for skill design and this skill for the Waza execution layer. Trigger especially when the user mentions Waza, `waza run`, `waza models`, executable evals, compare, graders, fixtures, or wants to validate a skill change with model-backed evaluation.
tools
Use when the user wants Codex to ask Claude Code for a second opinion or review on code, docs, diffs, PR changes, or design notes without modifying files. This delegates bounded review-only analysis through the Claude Code CLI (`claude -p`). Do NOT use for implementation or file edits; keep this skill review-only. Trigger especially when the user says ask Claude, ask Claude Code, cc-delegate, Claude review, second opinion from Claude, compare Codex and Claude, or review this diff/document with Claude Code.
tools
Airflow DAG development skill for writing, reviewing, testing, and debugging Apache Airflow workflows. Use whenever the user mentions Airflow, DAGs, tasks, operators, sensors, schedules, retries, catchup, DAG import errors, DAG parse performance, or workflow orchestration in Python. Also use for Amazon MWAA / Managed Workflows for Apache Airflow work, including MWAA DAG deployment, requirements.txt, plugins.zip, aws-mwaa-docker-images, S3 DAG folders, CloudWatch logs, and MWAA-specific dependency or IAM issues.
development
Use when the user asks for help drafting a GitHub PR description, a PR review comment, or a Slack post in their own tone (i.e., their personal writing voice). The skill detects the context (formal for PR / review, casual for Slack) and target_type (pr_description, pr_review, slack), drafts the body with an explicit reflection step that avoids verbose, mechanical phrasing, and stages the draft to `~/.local/state/tone/drafts/` via `tone-stage-draft.sh`. The user later runs `/tone-capture <url>` after posting, which pairs the staged draft with the final body to build a corpus for future tone tuning. Trigger especially when the user mentions PR description, PR review comment, Slack post, または「文を書いて」「文面を作って」「自分らしく」「トーン」「tone」.