Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

project-bootstrap项目引导程序

Agent Skill

project-bootstrap 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

264

周安装

11

GitHub Stars

24

下载量

88
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:project-bootstrap(项目引导程序)
来源仓库:https://github.com/noobygains/godmode
仓库路径:skills/project-bootstrap
安装命令:
npx skills add https://github.com/noobygains/godmode --skill project-bootstrap
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/noobygains/godmode --skill project-bootstrap

简介

project-bootstrap 用于处理 GitHub 仓库和协作信息,适合初始化项目结构和流程。

  • 适用于 Codex、Claude、Cursor 和 Gemini CLI,支持围绕仓库状态生成可执行计划。
  • 可通过来源仓库和原始 README 继续验证具体用法。
  • 安装前应确认是否会触发文件写入或命令执行操作。
  • 建议在独立工作区中测试后再应用于正式项目。

SKILL.md

Project Bootstrap

Overview

A properly initialized project prevents 80% of future structural headaches.

Core principle: Invest 30 minutes in setup now, or spend 30 hours unwinding structural debt later.

No exceptions. No workarounds. No shortcuts.

The Prime Directive

NO FEATURE CODE BEFORE PROJECT STRUCTURE IS ESTABLISHED

If the project lacks linting, formatting, testing infrastructure, and version control hygiene, address those gaps before writing any business logic.

When to Use

Mandatory when:

  • Creating a new project from nothing
  • "Just get something running" (especially then)
  • Building a prototype that could evolve into production
  • Setting up a shared repository for a team

Also applicable when:

  • Inheriting a project with no structural foundation
  • Retrofitting test infrastructure into untested code
  • Introducing CI/CD for the first time

The Entry Protocol

BEFORE writing any feature code:

1. STRUCTURE: Is the directory layout established?
2. TOOLING: Are linter, formatter, and type checker wired up?
3. TESTING: Is the test runner configured with a passing placeholder?
4. VERSION CONTROL: Are .gitignore, branch conventions, and hooks set up?
5. DEPENDENCIES: Is the package manager initialized with a committed lockfile?
6. AUTOMATION: Does at minimum a lint + test pipeline exist?

If any answer is NO: fix it first.

Project Classification

digraph project_class {
    start [label="What is being\nbuilt?", shape=diamond];
    web [label="Web\napplication?", shape=diamond];
    api [label="API /\nbackend?", shape=diamond];
    cli [label="CLI tool?", shape=diamond];
    lib [label="Library /\npackage?", shape=diamond];

    web_tpl [label="Web App\nBlueprint", shape=box, style=filled, fillcolor="#ccffcc"];
    api_tpl [label="API\nBlueprint", shape=box, style=filled, fillcolor="#ccccff"];
    cli_tpl [label="CLI\nBlueprint", shape=box, style=filled, fillcolor="#ffffcc"];
    lib_tpl [label="Library\nBlueprint", shape=box, style=filled, fillcolor="#ffccff"];
    general [label="General\nBlueprint", shape=box, style=filled, fillcolor="#ffcccc"];

    start -> web [label="assess"];
    web -> web_tpl [label="yes"];
    web -> api [label="no"];
    api -> api_tpl [label="yes"];
    api -> cli [label="no"];
    cli -> cli_tpl [label="yes"];
    cli -> lib [label="no"];
    lib -> lib_tpl [label="yes"];
    lib -> general [label="no"];
}

Consult templates.md for detailed setup checklists per project classification.

Universal Foundation (All Projects)

1. Version Control Hygiene

.gitignore          # Language-specific + universal exclusions
.gitattributes      # Line ending normalization, binary file handling

Mandatory.gitignore entries:

  • node_modules/, venv/, __pycache__/, target/ (dependency directories)
  • .env, .env.local, .env.*.local (secrets and credentials)
  • *.log (log files)
  • .DS_Store, Thumbs.db (OS artifacts)
  • IDE directories: .idea/, .vscode/ (unless sharing settings deliberately)
  • Build output: dist/, build/, out/

2. Static Analysis and Formatting

LanguageLinterFormatter
TypeScript/JavaScriptESLintPrettier
PythonRuff (lint + format)Ruff
Gogolangci-lintgofmt (built-in)
Rustclippyrustfmt (built-in)
RubyRuboCopRuboCop

Install on day one. Adopting a linter after 10,000 lines means triaging hundreds of violations on your first run.

3. Test Infrastructure

LanguageFrameworkRunner
TypeScript/JavaScriptVitest or JestBuilt-in
PythonpytestBuilt-in
Gotesting (stdlib)go test
Rustbuilt-in test harnesscargo test
RubyRSpec or MinitestBuilt-in

Write one passing test immediately. This confirms the test pipeline functions before you actually need it.

4. Type Safety

LanguageRequirement
TypeScriptstrict: true in tsconfig.json. Non-negotiable.
PythonType annotations + mypy or pyright
JavaScriptConsider TypeScript. If not, at minimum use JSDoc type annotations.

5. Continuous Integration Minimum

Every project must have at minimum:

# Minimum CI pipeline (GitHub Actions example)
on: [push, pull_request]
jobs:
  check:
    steps:
      - lint
      - type-check
      - test

If it does not execute in CI, it will not be maintained.

Directory Structure Principles

Organize by feature, not by file type (see godmode:system-design).

Every project requires:

project-root/
  src/              # Source code (or lib/, app/ per convention)
  tests/            # Test files (or co-located alongside source)
  docs/             # Documentation (when applicable)
  scripts/          # Build, deploy, and utility scripts
  .gitignore
  README.md         # Purpose, installation, how to run
  <config files>    # Linter, formatter, CI, package manager

Co-located tests vs separate directory:

  • Co-located (payment.ts + payment.test.ts): Easier to maintain, preferred default
  • Separate (tests/): When tests require shared fixtures or team convention mandates it

Dependency Governance

BEFORE adding any dependency:

1. Is it genuinely necessary? Could you write it in under 50 lines?
2. Is it actively maintained?
3. How many transitive dependencies does it introduce?
4. Does it carry known vulnerabilities?

When uncertain, write the code yourself.

Always:

  • Commit lockfiles (package-lock.json, poetry.lock, Cargo.lock)
  • Pin major versions, permit patch-level updates
  • Execute security audit in CI

Cognitive Traps

RationalizationTruth
"It is just a prototype"Prototypes graduate to production. Initialize properly.
"I will add linting later"After 10,000 lines you will face hundreds of violations. Now is always easier.
"Tests decelerate initial development"Test setup takes 5 minutes. Hunting bugs without tests takes hours.
"CI is excessive for this"CI catches what you forget. Wire it up on day one.
"I will organize the files later"You will not. Directory structure is harder to change than code.
"The.gitignore can wait"One committed.env file means leaked credentials. Configure it first.

Guardrails -- HALT and Set Up

  • Writing features without a linter configured
  • No.gitignore in the repository
  • No test framework installed
  • Secrets committed to version history (even once, even if deleted -- they persist in git history)
  • No README explaining how to run the project
  • Build artifacts checked into git
  • No CI pipeline
  • any types everywhere (TypeScript)

Every item on this list means: halt feature work. Fix the foundation first.

Integration

Complementary skills:

  • godmode:system-design -- Directory structure and technology selection
  • godmode:quality-enforcement -- Quality gates wired into CI from the start
  • godmode:security-protocol -- Secrets management and.gitignore discipline
  • godmode:ux-patterns -- Design system initialization for UI projects

The Bottom Line

30 minutes of setup now > 30 hours of structural debt later

Linter. Formatter. Tests. CI..gitignore. README. Before the first feature. Every single time.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.91%
按下载量换算32

Claude

29.92%
按下载量换算26

Cursor

20.21%
按下载量换算18

Gemini CLI

10.4%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills