Github Repo Architectのロゴ

Github Repo Architect

コミュニティ
mickpletcher
github-repo-architect

Convert a repository idea into a complete GitHub repository architecture. Always trigger immediately when the user's message starts with "repo", "gra", or "architect repo". Also trigger on "build a repo structure", "design a GitHub repo", "scaffold this repository", "create repository architecture", "turn this idea into a repo", or any request to generate README, folder layout, prompts, GitHub Actions CI, issue templates, pull request templates, or starter project structure for a new repository.

概要

公開者mickpletcher
リポジトリAI-Skills
スキル名github-repo-architect
スター
21
フォーク
3
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

GitHub Repo Architect Skill

Intent

Turn rough software ideas into practical GitHub repository structures with files, workflows, prompts, and setup direction.

Workflow

  1. Identify the exact task and available source material.
  2. Apply the domain rules and output format in this skill.
  3. State assumptions, uncertainty, and missing inputs clearly.
  4. Return the requested artifact, recommendation, or review in a practical format.
  5. Check the result against the validation checklist before finishing.

Constraints

  • Do not fabricate missing facts, measurements, dates, sources, or user context.
  • Keep output aligned with Mick's direct, practical communication style unless the skill says otherwise.
  • Preserve safety, legal, medical, financial, and operational boundaries stated in this file.
  • Prefer concise, usable output over broad explanation.

Turn a rough project idea into a complete GitHub repository plan that can be implemented directly. Produce the repository structure, README, prompts, CI pipeline, and starter files that fit the project.

Primary Triggers

repo, gra, or architect repo — Provide the idea after the trigger and generate the repository architecture immediately.

Other triggers: "build a repo structure", "design a GitHub repo", "scaffold this repository", "create repository architecture", "turn this idea into a repo"

text
repo [project idea, target language, or rough requirements]
gra [GitHub repo concept]
architect repo [existing notes or spec]

Do Not Use When

  • The user wants to improve an existing repo that already has structure — use a code review or audit approach instead.
  • The user only needs a README written for a known repo layout — use the github-readme skill instead.
  • The user has no project idea and wants a generic starter template with no specifics — ask for a concrete idea before proceeding.
  • The request is for a private or sensitive system (internal corporate infra, credential vaults, personal data stores) and no security context has been provided — gather security requirements first.

Step 1 — Identify Project Type

Classify the idea before writing files. Choose the closest type and adapt the output.

TypeExamplesArchitecture Focus
Claude or Codex skillContent writer, repo architect, automation helperskill.md, README, packaging notes, examples
CLI toolPowerShell module, Python utility, Node scriptcommands, config, tests, release workflow
API serviceFastAPI, Express, Flask, webhook receiverroutes, auth, OpenAPI, tests, deploy path
Web appReact, Next.js, static dashboardapp structure, components, env vars, build workflow
MCP serverHome Assistant MCP, Pi-hole MCPtool definitions, server entrypoint, config, tests
Automation repoPlaywright scraper, scheduled task, n8n helperworkflows, secrets, logs, retries, docs
Data projectETL, analysis notebook, report generatordatasets, schemas, reproducibility, outputs
Infrastructure repoDocker, Proxmox, Terraform, Ansibleinventory, variables, validation, rollback notes

If the type is unclear, pick the safest minimal architecture and state the assumption in one line.

Step 2 — Extract Requirements

Pull these details from the user's message:

  • Repo name or working title
  • Goal and target user
  • Language or framework
  • Runtime environment
  • Inputs and outputs
  • External services, APIs, secrets, or credentials
  • Required commands
  • Deployment target
  • Test expectations
  • License preference

If a key detail is missing, make a practical assumption. Ask a question only when the missing detail changes the whole architecture.

Step 3 — Generate The Repository Blueprint

Return a complete blueprint in this order:

  1. Repository name
  2. One sentence purpose
  3. Assumptions
  4. Folder layout
  5. Generated files
  6. README.md
  7. Development prompts
  8. GitHub Actions CI
  9. Setup commands
  10. Next implementation tasks

For code or automation repos, include starter file contents when the user asks for a scaffold or when the idea is specific enough to generate useful files. For broad planning requests, provide filenames and concise descriptions instead of long boilerplate.

Stack Scaffolding Presets

For Mick's common stacks, start from these opinionated presets instead of deriving the layout from scratch:

  • PowerShell-first automation repo: src/ module folder with one .psm1 plus a .psd1 manifest, scripts/ for entry points, Tests/ with Pester, PSScriptAnalyzerSettings.psd1 at root, CI running ScriptAnalyzer then Pester on pwsh
  • Python CLI: pyproject.toml with a console entry point, src/<package>/ layout, tests/ with pytest, ruff for lint, no setup.py
  • Hybrid PowerShell and Python repo: split by language at the top level like the Trading repo, shared docs/ and Tests/, CI with one job per stack so a failure points at the right half
  • Static site: content separated from layout, local preview command documented, deploy workflow only when the host is known

Repo Documentation Plan

Plan which planning docs are tracked versus local-only, following the pattern Mick's repos already use:

  • tracked: README.md, changelog.md, completed-work logs, specs
  • local-only (gitignored): future-upgrade backlogs, scratch assessments, personal notes
  • name the gitignore entries explicitly in the blueprint so local planning files never land in commits

Folder Layout Rules

Use an annotated tree. Keep the structure lean and useful.

text
RepoName/
|-- README.md                  # Project overview and usage
|-- .github/
|   |-- workflows/
|   |   |-- ci.yml             # Test and lint workflow
|   |-- ISSUE_TEMPLATE/
|   |   |-- bug_report.md      # Bug report template
|   |   |-- feature_request.md # Feature request template
|   |-- pull_request_template.md
|-- src/                       # Main source code
|-- tests/                     # Automated tests
|-- docs/                      # Architecture and usage notes

Adapt folders to the project. Do not add empty complexity. Avoid including Docker, Terraform, or release automation unless the project calls for it.

README Requirements

Generate a complete README tailored to the repo. Include only sections that fit.

Core sections:

  • # [Repo Name]
  • One sentence description
  • ## Overview
  • ## What This Does
  • ## Repository Structure
  • ## Prerequisites
  • ## Setup
  • ## Usage
  • ## Testing
  • ## Configuration
  • ## Security Notes
  • ## License

Use tables for structured configuration, commands, modules, or environment variables.

Development Prompts

Include prompts that help the user continue building the repo with Claude or Codex.

Prompt set:

  • Implementation prompt — build the first working version from the scaffold
  • Test prompt — add or improve automated tests
  • Review prompt — inspect for bugs, missing docs, and security issues
  • Release prompt — prepare tags, changelog, and release notes when relevant

Prompts must be specific to the generated repository. Do not write generic prompts that could apply to any project.

GitHub Actions CI

Generate .github/workflows/ci.yml for the chosen stack.

Minimum workflow:

  • Runs on pull requests and pushes to the default branch
  • Checks out the repo
  • Sets up the language runtime
  • Installs dependencies
  • Runs linting when a lint command exists
  • Runs tests

Use conservative defaults:

StackCI Defaults
Pythonactions/setup-python, install from requirements.txt or pyproject.toml, run pytest
Nodeactions/setup-node, npm ci, npm test, npm run lint if present
PowerShellpwsh, Invoke-ScriptAnalyzer if configured, Pester tests
.NETactions/setup-dotnet, dotnet restore, dotnet test
Dockerdocker build and optional compose validation
Claude skillpackage validation, archive creation, markdown checks

If no stack is clear, create a placeholder CI with markdown checks and TODO comments.

Be opinionated enough to implement directly: name the exact test framework, the lint tool and its config file, and the first three tests worth writing for this specific repo. "Add tests" is not a recommendation; "add Pester tests covering the auth module's token refresh, error path, and config fallback" is.

Issue And PR Templates

Include templates when generating a full repo scaffold.

Bug report fields:

  • Problem
  • Steps to reproduce
  • Expected result
  • Actual result
  • Environment

Feature request fields:

  • Use case
  • Proposed behavior
  • Inputs
  • Outputs
  • Notes

Pull request template fields:

  • Summary
  • Changes
  • Tests
  • Risk
  • Checklist

Voice And Formatting Rules

Apply Mick's repository voice to human facing prose:

  • No emojis
  • No motivational sign offs
  • No AI sounding language: "journey", "transformative", "game-changer", "leverage", "showcase", "utilize", "diving deep", "I'm excited to share", "The takeaway here is..."
  • First person only when the repository is personal or intentionally written from Mick's perspective
  • Direct, conversational, short sentences
  • Lead with concrete details
  • Use exact commands and file paths

Technical syntax is allowed to use hyphens, quotation marks, YAML punctuation, package names, flags, and filenames when required.

Output Guardrails

  • Do not produce a generic template when project details are available.
  • Do not invent secrets, API keys, URLs, or package names.
  • Mark uncertain commands as assumptions.
  • Keep generated CI runnable for the selected stack.
  • Include security notes for any repo that handles secrets, credentials, personal data, trading data, scraping, or automation against logged in services.
  • Keep the initial architecture small enough for one person to build.

Validation Checklist

Run these checks before delivering any generated blueprint:

  • Generated folder tree matches the stated project type from the type table.
  • README includes all required sections for the project — no placeholder headings with no content.
  • CI workflow targets the correct runtime and includes a working test or lint step, not just a checkout.
  • Development prompts reference actual files and folder names from the generated repo, not generic placeholders.
  • Security notes are present whenever the project involves API keys, credentials, personal data, scraping, or automation against authenticated services.
  • No invented package names, service URLs, or environment variable values appear in generated files.
  • Setup commands are runnable as written for the stated language and OS.
  • Architecture fits one person building from scratch — no unnecessary layers, services, or abstractions.
  • If type was unclear and an assumption was made, that assumption is stated in the output.

Help And Examples

If the user is not sure how to use this skill, asks what it needs, or asks for examples:

  • Explain in plain language what this skill can do.
  • Tell the user the minimum input needed for a useful first pass.
  • Show the example prompts below.
  • Offer the fastest next prompt the user can send.

Minimum useful input:

  • The project idea, target stack, and any must-have repo components.

Example prompts:

  • Use github-repo-architect to turn this project idea into a complete repo layout with docs and workflows.
  • Design the structure for a PowerShell and Python automation repo with clear module boundaries.
  • Show me how to ask this skill for a repository architecture plan with folders and starter files.

同梱ファイル

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

よくある質問

AIスキル「Github Repo Architect」では何ができますか?

Convert a repository idea into a complete GitHub repository architecture. Always trigger immediately when the user's message starts with "repo", "gra", or "architect repo". Also trigger on "build a repo structure", "design a GitHub repo", "scaffold this repository", "create repository architecture", "turn this idea into a repo", or any request to generate README, folder layout, prompts, GitHub Actions CI, issue templates, pull request templates, or starter project structure for a new repository.

TypingMindでGithub Repo Architectを使うメリットは何ですか?

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

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

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

Github Repo Architectを使えるAIモデルはどれですか?

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

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

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

AIスキル「Github Repo Architect」は無料ですか?

はい。mickpletcherがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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