本文へスキップ
Skillpedia
ドキュメント作成31k · #9266

repo-architecture

できること

このスキルは、ブレインに保存される新しいノートの置き場所のルールを定めます。人物、会社、会議など、何についてのページかに基づいて分類します。

使う場面

  • ✓エージェントが新しいページを作ろうとしていて、フォルダを選ぶ必要があるとき。
  • ✓1つのノートが複数のフォルダに当てはまり、明確なルールがほしいとき。
  • ✓既存のページが誤った場所に保存されていないか確認したいとき。

スキルのリンク

https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/repo-architecture/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“Acmeのアリスとの通話のメモは、どのフォルダに保存すればよいですか?適切なフォルダを選んでください。”

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

仕組み

エージェントは、そのページが主に何についてのものかを尋ね、短い判断リストに沿って進みます。理由とともに1つのフォルダを提案し、関連する場所からそのページへのリンクを追加します。

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

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

Repo Architecture — Filing Rules

Full filing rules: See skills/_brain-filing-rules.md

Contract

This skill guarantees:

  • Every new page is filed by primary subject (not format, not source)
  • The decision protocol is followed for ambiguous cases
  • Common misfiling patterns are caught

Phases

  1. Identify the primary subject. What would you search for to find this page?
  2. Walk the decision tree:
    • About a person → people/{name-slug}.md
    • About a company → companies/{name-slug}.md
    • A reusable concept/framework → concepts/{slug}.md
    • An original idea → originals/{slug}.md
    • A meeting → meetings/{slug}.md
    • Media content → media/{type}/{slug}.md
    • Raw data import → sources/{slug}.md
  3. Cross-link. Link from related directories.
  4. Check notability. See skills/conventions/quality.md notability gate.

Output Format

Advisory: "File this at {type}/{slug}.md because the primary subject is {reason}."

When it fails

Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:

  • list_pages / search cannot find a matching directory or the brain is unreachable: fall back to skills/_brain-filing-rules.md and say the placement came from the rules, not the live brain.
  • get_page returns page_not_found for the page being filed: confirm the slug with the user before choosing a directory.

Anti-Patterns

  • Filing by format ("it's a PDF so it goes in sources/")
  • Filing by source ("it came from email so it goes in sources/")
  • Creating pages without checking if one already exists
  • Using sources/ for anything except raw data dumps
よくある質問

フォルダは、ノートの出どころによって決まりますか?

いいえ。分類は、ノートの情報源やファイル形式ではなく、主題に基づきます。

ブレインに接続できない場合はどうなりますか?

エージェントは代わりに書かれたルールを使い、その配置はそのルールに基づくものだと伝えます。

他のスキルも同じルールに従いますか?

はい。ブレインに書き込む他のスキルも同じルールを使うため、ブレイン全体が一貫した状態を保ちます。

詳細

作者による元の説明

Where new brain files go. Decision protocol for filing brain pages by primary subject, not by format or source. Reference for all brain-writing skills.

repo: garrytan/gbrain

人気

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

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

0

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

コメント

  • …

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

似ているスキル