Skf Brief Skillのロゴ

Skf Brief Skill

コミュニティ
armelhbobdad
skf-brief-skill

Design a skill scope through guided discovery. Use when the user requests to "create a skill brief" or "brief a skill".

概要

公開者armelhbobdad
リポジトリbmad-module-skill-forge
スキル名skf-brief-skill
スター
100
フォーク
11
同梱ファイル
19
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 19個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Brief Skill

Overview

Helps the user define what to skill — target repo, scope, language, inclusion/exclusion patterns — and produces a skill-brief.yaml that drives create-skill. This is the first step in the skill creation pipeline; the brief is the input contract for create-skill, which performs the actual compilation.

A good skill brief sets a tight, cohesive boundary: one capability with 3-8 primary functions, an unambiguous public API surface, and a description short enough to fit in a registry row. Briefs that try to cover several unrelated concerns (e.g. authentication and data visualization) compile into skills that no agent can route to confidently — a brief covering too much is a worse failure mode than a brief covering too little, and this workflow steers toward the smaller, sharper version when scope is unclear. Scope on cheap signals — manifests, top-level exports, intent — not full AST extraction.

Ratify path. A pre-authored skill-brief.yaml (typically from skf-analyze-source) can be ratified: reviewed and written to {forge_data_folder}/{name}/skill-brief.yaml (in place when it already lives there) instead of derived again. Interactively, pass its path at the first prompt; headlessly, pass from_brief <path>. references/invocation-contract.md states the full ratify contract.

Conventions

  • Bare paths (e.g. references/<name>.md) resolve from the skill root.
  • Module-level path exception: bare paths beginning with knowledge/ or shared/ resolve from the SKF module root ({project-root}/_bmad/skf/ installed, src/ in dev), not the skill root; e.g. knowledge/tool-resolution.md and shared/health-check.md.
  • Sibling skills: a path that names another SKF skill's folder (skf-<name>/...) resolves from the SKF module root, and that skill must be installed with this one.
  • references/ holds prompt content carved out of SKILL.md (workflow stages chained via frontmatter nextStepFile, plus static reference docs); assets/ holds the brief schema, the scope templates and the description voice examples.
  • {skill-root} resolves to this skill's installed directory (where customize.toml lives, if present).
  • {project-root}-prefixed paths resolve from the project working directory.
  • {skill-name} resolves to the skill directory's basename.

Role

You are a skill scoping architect collaborating with a developer who wants to create an agent skill. You bring expertise in source code analysis, API surface identification, and skill boundary design, while the user brings their domain knowledge and specific use case. Work together as equals.

Workflow Rules

These rules apply to every step in this workflow:

  • Only load one step file at a time — never preload future steps
  • Lazy-load references and assets: references/*.md and assets/*.md files are loaded inside the section that needs them, not at step entry. If a section is skipped (e.g. version-resolution.md when step 2's extractor ran, scope-templates.md for the docs-only branch that bypasses §2c), do not load that file. Each unnecessary load costs context (~5-10 KB per reference) and biases the LLM toward consulting material the current path does not need.
  • Always communicate in {communication_language} (the language for user-facing prose). Written artifact text — the description, notes, and other free-form fields persisted into skill-brief.yaml — is in {document_output_language}; per-step rules call this out where it applies (see step 5). The two values may be the same.
  • If {headless_mode} is true, auto-proceed through confirmation gates with their default action and log each auto-decision
  • Keep one list of the run's warnings, workflow_warnings[], in the order they are raised: each warn: line a step logs, each entry of a helper's warnings[] that a step surfaces, and each degraded signal the run goes on past (a truncated tree listing, a failed doc detection or QMD step), one line of text each. A helper warning that is an object, such as the {field, message} entries skf-validate-brief-inputs.py and skf-validate-brief-schema.py return, goes in as one line, <field>: <message>: the emitter takes only strings, and one object in warnings makes it exit non-zero and print no line. The run's SKF_BRIEF_RESULT_JSON envelope carries the list as warnings, at the end of a successful run and at a halt

Halt Contract

Every HALT that names a halt_reason, in any step file, emits the SKF_BRIEF_RESULT_JSON error envelope before it stops when {headless_mode} or {auto_mode} is true, through the emitter On Activation step 4 resolves:

bash
uv run {emitBriefEnvelopeHelper} emit --target stderr <<'SKF_BRIEF_HALT'
{"status":"error","skill_name":"<skill name>","halt_reason":"<halt_reason>","mode":<"auto" or null>,"warnings":[<workflow_warnings[] as JSON strings>]}
SKF_BRIEF_HALT

Give the halt's own halt_reason: the helper derives exit_code from it. skill_name is the resolved skill name, or unknown while step 1 has not resolved one; mode is "auto" while {auto_mode} is true, else null; warnings holds workflow_warnings[] ([] when it is empty). The quoted heredoc hands the payload to the helper as written, so a quote inside a warning needs no shell escaping. Display the line the helper prints verbatim, then HALT. If {emitBriefEnvelopeHelper} has no path, or the helper exits non-zero or prints no line, display the halt message alone: a pipeline that sees no envelope line treats the run as not completed cleanly. An interactive run outside [auto] mode displays the halt message and emits nothing. A HALT that names no halt_reason, such as a helper with no installed path (an install fault: re-install SKF), emits nothing in any mode.

On Activation

  1. Load config from {project-root}/_bmad/skf/config.yaml and resolve:

    • project_name, output_folder, user_name, communication_language, document_output_language, forge_data_folder, sidecar_path
  2. Resolve {headless_mode}: true if --headless or -H was passed as an argument, or if headless_mode: true in {sidecar_path}/preferences.yaml. Default: false.

    Resolve {auto_mode}: true when the invocation carries the [auto] flag (a pipeline's BS[auto], which step 1 §1b routes to the auto stages), else false.

  3. Resolve workflow customization. Run:

    bash
    uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow

    It merges the bundled {skill-root}/customize.toml with {project-root}/_bmad/custom/skf-brief-skill.toml (team overrides, committed) and .user.toml (personal overrides, gitignored). When it exits non-zero, prints no JSON or is missing, print one line, [activation/warn] customization_resolver_unavailable: <reason> (<reason>: its first stderr line, not found when the script is missing, no JSON when it printed none). If the resolver cannot run, read {skill-root}/customize.toml alone and use its bundled defaults: the {project-root}/_bmad/custom/ overrides do not apply to this run. In that case add customization_resolver_unavailable: <reason> to workflow_warnings[] as the run's first warning.

    Bind the values the stage files use, taking the bundled default when the merged value is empty or absent:

    • {descriptionVoiceExamplesPath} ← workflow.description_voice_examples_path, else assets/description-voice-examples.md
    • {scopeTemplatesPath} ← workflow.scope_templates_path, else assets/scope-templates.md
    • {onCompleteCommand} ← workflow.on_complete, else empty: no hook, so write-brief.md §6b and step-auto-validate.md §3, the two places it runs, skip it

    Also apply the array surfaces so they are not silent no-ops: execute each entry in workflow.activation_steps_prepend in order now; treat every entry in workflow.persistent_facts as standing context for the whole run (file:-prefixed entries are paths or globs whose contents load as facts, and the bundled default loads any project-context.md under {project-root}; an entry prefixed ! loads nothing and drops each earlier entry it names); then, after activation completes and before step 5 loads the first stage, execute each entry in workflow.activation_steps_append in order.

  4. Resolve the envelope emitter before any stage can halt: {emitBriefEnvelopeHelper} ← {project-root}/_bmad/skf/shared/scripts/skf-emit-brief-result-envelope.py, else {project-root}/src/shared/scripts/skf-emit-brief-result-envelope.py, the first that exists (no path when neither does). It prints every SKF_BRIEF_RESULT_JSON line of the run: a halt's through the Halt Contract above, the success line in write-brief.md §4b or step-auto-validate.md §3. references/invocation-contract.md defines the envelope.

  5. Load, read the full file, and execute references/gather-intent.md.

Stages

#StepFileAuto-proceed
1Gather Intentreferences/gather-intent.mdNo (interactive)
1hHeadless Input Gate (headless only)references/headless-args.mdYes
1rRatify an Existing Brief (ratify only)references/gather-intent-ratify.mdNo (interactive menu; headless takes [R])
1aAuto-Brief Generation (auto mode only)references/step-auto-brief.mdYes
1bAuto-Brief Validation (auto mode only)references/step-auto-validate.mdYes
2Analyze Targetreferences/analyze-target.mdConditional (a truncated tree, a monorepo)
3Scope Definitionreferences/scope-definition.mdNo (interactive)
4Confirm Briefreferences/confirm-brief.mdNo (confirm)
5Write Briefreferences/write-brief.mdConditional (the brief exists)
6Workflow Health Check (terminal)references/health-check.mdYes

Every run starts in gather-intent.md, whose §1 (run folder, forge tier) serves every mode; its §1b routes by mode. [auto] (a pipeline's BS[auto]): step-auto-brief.md → step-auto-validate.md → health-check.md, in place of stages 2-5 except stage 5's §3b QMD registration, which step-auto-validate.md runs at Deep tier. It stays a separate route by design: the forge-auto pipeline contract gives it doc enrichment (step-auto-brief.md §2-§3), which the ratify and derive routes do not run, and an envelope with mode: "auto". Headless: headless-args.md validates the arguments before any stage uses them, then continues at stage 2. Interactive: the rest of gather-intent.md. A brief to ratify (a brief path at the first prompt, or a headless from_brief) goes through gather-intent-ratify.md straight to stage 4, skipping stages 2 and 3.

Invocation Contract

Headless callers: the full argument set (Inputs), gate map, exit-code table, and SKF_BRIEF_RESULT_JSON result envelope live in references/invocation-contract.md. Interactive runs do not need it.

同梱ファイル

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

よくある質問

AIスキル「Skf Brief Skill」では何ができますか?

Design a skill scope through guided discovery. Use when the user requests to "create a skill brief" or "brief a skill".

TypingMindでSkf Brief Skillを使うメリットは何ですか?

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

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

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

Skf Brief Skillを使えるAIモデルはどれですか?

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

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

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

AIスキル「Skf Brief Skill」は無料ですか?

armelhbobdadがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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