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 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 mickpletcher 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Github Repo Architect AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

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

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Github Repo Architect。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Github Repo Architect 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Github Repo Architect AI 技能有什么作用?

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,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Github Repo Architect?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Github Repo Architect 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Github Repo Architect 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Github Repo Architect AI 技能免费吗?

是的。mickpletcher 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇