Invest Preflightのロゴ

Invest Preflight

コミュニティ
erikaflowers
invest-preflight

コードベースをすばやく調査し、プロジェクトの種類、技術スタック、構成、規模、規約を把握します。/invest-manifestや/invest-repo-auditのような、より詳細なスキルを実行する前に使います。初めて扱うリポジトリでは、まずこれを実行してください。

Add to TypingMind

概要

公開者erikaflowers
リポジトリinvestiture
スキル名invest-preflight
スター
55
フォーク
9
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Preflight — Codebase Intake

You are performing a fast reconnaissance pass on an unfamiliar codebase. Your job is to orient yourself and the operator so that subsequent work (manifest, audit, feature work, debugging) starts from a position of understanding — not guessing.

This is a 2-minute scan, not a deep dive. Speed over completeness. You are answering: "What is this, what's it made of, how big is it, and what should I watch out for?"

Target

The codebase at $ARGUMENTS. If no argument is provided, use the current working directory.

Scan Sequence

Run these in parallel where possible.

1. Identify the project

Read whichever of these exist (check in order, stop at first match per category):

Package manifest:

  • package.json, package-lock.json or yarn.lock or pnpm-lock.yaml
  • Cargo.toml
  • pyproject.toml, setup.py, requirements.txt, Pipfile
  • go.mod
  • Gemfile
  • pom.xml, build.gradle
  • composer.json
  • *.csproj, *.sln

Entry points:

  • src/main.*, src/index.*, src/app.*, src/App.*
  • main.*, index.*, app.* at root
  • cmd/, bin/, lib/

Config files:

  • tsconfig.json, vite.config.*, webpack.config.*, next.config.*
  • netlify.toml, vercel.json, fly.toml, railway.json, Dockerfile, docker-compose.yml
  • .env.example, .env.sample

Documentation:

  • README.md, CLAUDE.md, CONTRIBUTING.md
  • docs/ directory existence

2. Measure scale

Run these commands:

bash
# File count by extension (top 10)
find . -type f -not -path '*/node_modules/*' -not -path '*/.git/*' -not -path '*/dist/*' -not -path '*/build/*' -not -path '*/target/*' -not -path '*/__pycache__/*' -not -path '*/vendor/*' | sed 's/.*\.//' | sort | uniq -c | sort -rn | head -20

# Total source file count
find . -type f -not -path '*/node_modules/*' -not -path '*/.git/*' -not -path '*/dist/*' -not -path '*/build/*' -not -path '*/target/*' -not -path '*/__pycache__/*' -not -path '*/vendor/*' | wc -l

# Directory structure (2 levels deep)
find . -maxdepth 2 -type d -not -path '*/node_modules/*' -not -path '*/.git/*' -not -path '*/dist/*' | sort

# Git activity (if git repo)
git log --oneline -10 2>/dev/null
git shortlog -sn --no-merges 2>/dev/null | head -5

3. Detect patterns

Search for indicators of:

Testing:

  • Glob for *.test.*, *.spec.*, __tests__/, tests/, test/, spec/
  • Check for test runner config: jest.config.*, vitest.config.*, pytest.ini, .rspec, Cargo.toml [dev-dependencies]

CI/CD:

  • .github/workflows/, .gitlab-ci.yml, .circleci/, Jenkinsfile, bitbucket-pipelines.yml

Linting/Formatting:

  • .eslintrc*, .prettierrc*, biome.json, .rubocop.yml, ruff.toml, .golangci.yml

Database:

  • Grep for migration directories: migrations/, db/migrate/, alembic/, prisma/
  • Grep for ORM patterns: prisma, drizzle, sequelize, sqlalchemy, activerecord, diesel
  • Check for schema files: schema.prisma, schema.sql, *.migration.*

Auth:

  • Grep for auth patterns: jwt, oauth, passport, auth0, clerk, supabase.auth, firebase.auth

State management (frontend):

  • Grep for: redux, zustand, jotai, recoil, mobx, pinia, vuex, context, useState

4. Check for hazards

Quick scan for things that will trip up subsequent work:

  • Monorepo? Check for workspaces in package.json, lerna.json, turbo.json, nx.json, pnpm-workspace.yaml
  • Multiple languages? If the file extension scan shows 3+ language types, note it
  • Generated code? Check for generated/, __generated__/, *.gen.*, codegen in config
  • Secrets in repo? Quick grep for sk-, ghp_, AKIA, -----BEGIN, common API key patterns in source files (not .env)
  • Large files? Any source file over 1000 lines: find . -type f -name '*.{js,jsx,ts,tsx,py,rb,go,rs,java}' -not -path '*/node_modules/*' | xargs wc -l 2>/dev/null | sort -rn | head -10
  • Lock file freshness? Compare lock file modification date to package manifest date

Output Format

Do NOT write a file. Output directly to the conversation in this format:

PREFLIGHT — [project name]
═══════════════════════════════════════════════════════════════

Project:      [one-line description]
Type:         [web app | API | CLI | library | monorepo | static site | mobile app | other]
Language:     [primary language(s)]
Framework:    [framework + version, or "none"]
Database:     [database + ORM, or "none detected"]
Hosting:      [detected hosting platform, or "unknown"]
Auth:         [auth approach, or "none detected"]

Scale:
  Files:      [total source file count]
  Languages:  [breakdown by extension, top 5]
  LOC:        [approximate, if easy to determine]
  Size:       [SMALL (<50 files) | MEDIUM (50-200) | LARGE (200-500) | VERY LARGE (500+)]

Structure:
  Source:     [where source code lives — src/, lib/, app/, etc.]
  Tests:      [where tests live, or "none detected"]
  Config:     [notable config files]
  Docs:       [what documentation exists]
  CI/CD:      [what CI/CD exists, or "none"]

Git:
  Branch:     [current branch]
  Recent:     [last commit date + message]
  Authors:    [top contributors, count]
  Activity:   [active | dormant | archived]

Hazards:
  [list anything that would surprise someone working in this repo]
  [monorepo structure, generated code, missing tests, secrets in code, etc.]
  [or "None detected" if clean]

Recommended next steps:
  [ ] /invest-manifest — to inventory everything
  [ ] /invest-repo-audit — to assess quality
  [ ] [other context-specific suggestions]

═══════════════════════════════════════════════════════════════

Rules

  • Fast. This should take under 2 minutes. Don't read every file — read manifests, entry points, and READMEs. Glob and grep for everything else.
  • No files written. Output to conversation only. This is context-setting, not a deliverable.
  • Flag surprises. The Hazards section is the most valuable part. If there's a 3000-line god file, a checked-in .env, a missing lock file, or a monorepo with 14 packages — say so. These are the things that will waste time if discovered later.
  • Be honest about unknowns. If you can't determine the database or auth approach from a quick scan, say "not detected" rather than guessing.
  • Suggest next steps. Based on what you found, recommend whether /invest-manifest, /invest-repo-audit, or something else is the right next move.

よくある質問

AIスキル「Invest Preflight」では何ができますか?

コードベースをすばやく調査し、プロジェクトの種類、技術スタック、構成、規模、規約を把握します。/invest-manifestや/invest-repo-auditのような、より詳細なスキルを実行する前に使います。初めて扱うリポジトリでは、まずこれを実行してください。

TypingMindでInvest Preflightを使うメリットは何ですか?

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

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

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

Invest Preflightを使えるAIモデルはどれですか?

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

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

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

AIスキル「Invest Preflight」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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