Working From Reference Documentsのロゴ

Working From Reference Documents

コミュニティ
lukapiskorec
working-from-reference-documents

Use when an experiment is grounded in a construction manual, design guide, or standard (typically a summarized md document with a source PDF behind it) and the model must stay traceable to it.

概要

公開者lukapiskorec
リポジトリcraftbot
スキル名working-from-reference-documents
スター
191
フォーク
29
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lukapiskorec/craftbot.git /tmp/craftbot
mkdir -p .claude/skills
cp -r /tmp/craftbot/skills/working-from-reference-documents .claude/skills/working-from-reference-documents
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にWorking From Reference Documentsを読み込みます。

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

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

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

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

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

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

スキルの指示

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

Working from reference documents

Overview

Fidelity to a reference is an auditable property, not a feeling. Every number in the model should trace back to a clause in the source, and every departure should be written down with its reason. Successful runs converge on the same two-phase shape: build from the extracted rules first, then diff the finished-looking model against the source's figures and photographs.

The mapping table comes first

Before any geometry, write a table with one row per rule taken from the reference:

| Source (section / figure / page) | Rule taken | Value and code symbol in the model |

Every constant in the script traces forward to a rule; every clause with no row is visibly unimplemented. Where the source gives a range (say, exterior walls 140-200 mm), the row records which end was picked and why. This turns "did we follow the reference" into a table read instead of a judgement call.

Rules for taking numbers

  • A dimension is meaningless without its datum. Establish which face or centreline a number is measured to before building on it, and cross-check headline dimensions against a second sheet. A footprint read as the platform edge can turn out to be the wall line on a larger platform, and the misread propagates into posts, trusses and the whole plan.
  • Distinguish primitive values from derived ones. Member sizes, spacings and angles copy over; counts, rises and spans must be recomputed once your overall dimensions differ (keep the source's stair going, but recompute the riser count and height for your own floor level, and check the result still fits the space available).
  • Pick parameters at stated thresholds, not mid-range. A threshold carries a justification the source itself supplies: the widest board still in the two-nail class is a defensible width; a round number from the middle of a range is not.
  • Trust drawings and schedules over body text when the source contradicts itself. Manuals carry internal contradictions (a floor board 30 mm in one chapter and 22 mm in the table and drawings); the drawings and quantity schedules are usually the reliable layer.

When the reference and the brief disagree

The brief overrides the reference, once, explicitly, in writing. If the brief says raised on stilts and the manual's kitchen wing sits on a ground slab, the wing goes, and the refusal is recorded with its reason. Leave a legible stub (a blind wall) where the omitted part would attach. Silent omission reads as an error; a recorded override reads as a decision.

When the reference runs out

  • A silent reference still owes you a detail. Diagrammatic sources draw arrangement, not connection. A handbook that draws slabs meeting a core without drawing the bearing still needs ledgers under the slab edges in the model. Gaps in a reference mark the places that demand inference, not the places that need no geometry.
  • Extend the source's own rules by analogy, snap to real material sizes, and label the extension as yours. A rule stated for main-roof hips ("about 50 mm deeper") can be applied to dormer valleys the source never sizes; if the arithmetic gives a size that is not a dressed lumber size, take the next real one. Record the extension as an application of the rule, never as directly sourced.
  • Do not adopt a feature whose detail the source does not draw. A layout whose members would stand over nothing, needing a cantilever detail the source never shows, produces geometry that looks right and is structurally nonsense. Prefer the version you can detail.
  • When geometry forbids the textbook detail, use the reference's own listed alternative before inventing one, and verify the alternative's own limits (where collar ties are impossible around dormers, the source's struts may work, but a strut chasing a rising member can never make its minimum angle; flag such members as needing engineering instead of faking it).

The two-phase workflow

  1. Phase 1: build from the tables. Extract sizes, spacings and grid rules; get a complete, numerically clean model standing. Layout and proportion only become legible once there is something to diff against.
  2. Phase 2: diff against the source's images. Re-read the figures and photographs one by one against your renders, as a table: in the figure | in the model | change made (or "kept", with reason). This pass finds what the first reading skipped: struts, strongbacks, doubled end joists and nailing strips can all arrive after the model already scores zero overlaps, and a cover photograph can drive changes the text never implied.

The summary loses the figures. Text extraction preserves tables well and assembly relationships badly; whatever was drawn rather than tabulated is missing from the summarized md document. A model built through several versions from the summary alone can need substantive rework once the original PDF spreads are opened. Standing order: before declaring done, go back to the original document's figures.

The deviation ledger

Keep three running lists, and repeat them in the rationale's scope section:

  1. Deviations from the source, each with its cause (brief override, geometric conflict, tooling limit) and the rejected alternative named.
  2. Considered and not changed, with reasons. This stops the next iteration from re-litigating settled questions.
  3. Not verified: what the source specifies that the model never checked.

Where the references live

The summaries and the PDFs behind them are in manuals/ at the repo root, catalogued in manuals/INDEX.md (title, summary filename, download link, description, table of contents). The PDFs are gitignored; each summary's header says where to download its PDF and under what filename to save it. Reading, selection and download are described in the running-craftbot-experiment skill.

Summarizing a new reference

When producing a new summarized md document from a PDF, put it in manuals/, give it the header block the existing summaries use (original PDF filename and download link, source, scope, most useful for), and add an entry to manuals/INDEX.md. Use this structure: a scope note naming what is and is not included (so nobody hallucinates absent span tables), a flat quick-reference table of parameter/value pairs, the prose with figure labels transcribed, a figure index, and a closing step-by-step summary for procedural modelling. A summary that ends in an ordered build sequence and begins with a parameter table can be used without rereading the prose.

Provenance

Distilled from the Fable design rationale documents of experiments 04, 08, 09, 11 and 13 in the CraftBot repo (https://github.com/lukapiskorec/craftbot), and from these summarized reference documents: Construction Manual of Prefabricated Timber House (FRIM/ITTO Technical Information Handbook No. 5, 1996), The Segal Method (The Architects' Journal special issue, 5 November 1986, by Jon Broome), How to CLT: architectural guidelines for early stages (Arkemi, Stockholm, 2nd ed. 2024), and Canadian Wood-Frame House Construction (CMHC), chapters 11 and 12.

よくある質問

AIスキル「Working From Reference Documents」では何ができますか?

Use when an experiment is grounded in a construction manual, design guide, or standard (typically a summarized md document with a source PDF behind it) and the model must stay traceable to it.

TypingMindでWorking From Reference Documentsを使うメリットは何ですか?

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

TypingMindにWorking From Reference Documentsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/lukapiskorec/craftbot/tree/main/skills/working-from-reference-documentsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Working From Reference Documentsを使えるAIモデルはどれですか?

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

Working From Reference Documentsで使えるAIモデルの数に制限はありますか?

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

AIスキル「Working From Reference Documents」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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