Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

project-bootstrapper项目引导程序

Agent Skill

project-bootstrapper 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,157

周安装

89

GitHub Stars

67

下载量

705
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ersinkoc/project-bootstrap --skill project-bootstrapper

简介

project-bootstrapper 在编码前定义代码编写规则与质量护栏,预防而非事后发现缺陷。

  • 通过访谈、技术选型与技能图谱生成,自动化产出项目级开发规范与校验清单。
  • 不直接写应用代码,而是生成约束所有后续开发行为的元规则体系。
  • 适合需要强一致性与长期维护性的企业级或团队协作项目启动阶段。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Project Bootstrapper

Philosophy: Define how code must be written before writing any code. Bugs are prevented at design time, not discovered at runtime.

This is a meta-skill — it does not write application code. It generates the rules, patterns, guardrails, and quality standards that govern all code written afterward, by any developer or AI assistant.

How It Works

[Idea] → [Interview] → [Tech Stack] → [Skill Map] → [Generate Skills] → [Validate] → [Code]

Activation

This skill activates when:

  • User describes a new software project idea
  • User says "bootstrap", "new project", "start from scratch", "set up project"
  • User wants to generate a skill suite for an existing codebase
  • User asks for coding standards, project scaffolding, or development guardrails
  • Any context where skills should be created before development begins

Important: Read References First

Before generating ANY skills, you MUST read these reference files in order:

  1. references/skill-catalog.md — Full catalog of 40+ skill domains
  2. references/skill-template.md — Universal template every skill must follow
  3. references/generation-guide.md — Domain-specific generation instructions with code
  4. references/quality-standards.md — Quality checklist for generated skills
  5. references/cross-cutting-concerns.md — Rules that span all skills

Phase 1: Project Intelligence Gathering

1.1 — Understand the Idea

Extract or ask about:

What (Product):

  • What does this project do? (one sentence)
  • What type is it? (web app, mobile app, desktop app, CLI, library/SDK, API service, browser extension, IoT, embedded, game, data pipeline, ML platform, monorepo with multiple products)
  • Who is the end user? (developers, consumers, enterprise, internal team)
  • What is the revenue model? (open-source, freemium, SaaS subscription, one-time purchase, marketplace, ad-supported, enterprise license)

How Big (Scale):

  • Expected users at launch? At 12 months?
  • Data volume? (records, files, events/sec, storage)
  • Geographic scope? (single region, continental, global)
  • Availability requirement? (99.9%, 99.95%, 99.99%)

How (Constraints):

  • Required technologies? (must use React, must deploy on AWS, etc.)
  • Existing codebase? (greenfield vs brownfield)
  • Team size? (solo, small team 2-5, medium 5-15, large 15+)
  • Timeline? (hackathon/weekend, MVP in weeks, production in months)
  • Budget constraints? (free tier only, moderate, enterprise)
  • Compliance requirements? (GDPR, HIPAA, SOC2, PCI-DSS, COPPA, CCPA)

If the user already provided details, extract answers from their message instead of asking. Only ask what's missing and genuinely needed to make tech stack decisions.

1.2 — Determine Tech Stack

Based on the answers, recommend a complete tech stack.

🔍 MANDATORY: Version Research (Latest Stable) — ZERO TOLERANCE

This is NON-NEGOTIABLE. Before proposing ANY technology, you MUST verify its latest stable version via real-time lookup.

⚠️ CRITICAL: AI models have knowledge cutoffs. Package ecosystems evolve daily. A skill generated with outdated versions will produce vulnerable, deprecated code.

Research Protocol (execute for EVERY technology):

  1. Use available tools (in priority order):

- WebSearch: "{package} latest stable version {current_year}" - WebFetch: Official docs site (e.g., nextjs.org, python.org, go.dev) - Context7: resolve-library-idquery-docs for changelog - Package registry: npmjs.com, pypi.org, crates.io, pkg.go.dev, maven.apache.org

  1. Extract exact version:

- Format: Major.Minor.Patch (e.g., Next.js 16.1.0) - Verify it's STABLE (not alpha, beta, RC, canary, nightly) - Note release date — reject if >6 months old without updates

  1. Document verification: Technology: Next.js Version: 16.1.0 Verified via: nextjs.org/blog Verification date: 2026-03-09 Release date: 2026-02-15 Node requirement: >= 22.0.0

HARDCORE RULES:

  • MUST: Verify EVERY dependency, not just frameworks
  • MUST: Pin exact versions in all configs (package.json, requirements.txt, Cargo.toml, etc.)
  • MUST: Use latest APIs/syntax from verified version in ALL code examples
  • NEVER: Use memorized versions under ANY circumstance
  • NEVER: Skip verification even for "well-known" packages
  • NEVER: Use deprecated APIs from older versions
  • ⚠️ WARN: If verification fails, mark clearly: ⚠️ VERSION UNVERIFIED — MUST CONFIRM

Abandonment Detection:

  • Last commit/release >12 months = investigate alternatives
  • No maintainer response to issues >6 months = red flag
  • Security advisories unpatched >30 days = DO NOT USE

Example research queries:

  • "next.js latest version" → nextjs.org or npm
  • "postgresql latest stable release" → postgresql.org
  • "tailwind css latest version" → tailwindcss.com or npm
  • Context7: resolve library ID → query docs for version/changelog

Tech Stack Decision Table

Organize as a layered decision table:

┌──────────────────────────────────────────────────────────────────────┐
│  TECH STACK PROPOSAL (versions verified: {date})                     │
├────────────────┬─────────────────────────────────┬───────────────────┤
│ Category       │ Choice                          │ Rationale         │
├────────────────┼─────────────────────────────────┼───────────────────┤
│ Language       │ {name} {verified latest version} │                   │
│ Runtime        │ {name} {verified latest version} │                   │
│ Framework      │ {name} {verified latest version} │                   │
│ Database       │ {name} {verified latest version} │                   │
│ ORM/Query      │ {name} {verified latest version} │                   │
│ Cache          │ {name} {verified latest version} │                   │
│ Auth           │ {name} {verified latest version} │                   │
│ UI Library     │ {name} {verified latest version} │                   │
│ CSS/Styling    │ {name} {verified latest version} │                   │
│ State Mgmt     │ {name} {verified latest version} │                   │
│ API Style      │ {name} {verified latest version} │                   │
│ Validation     │ {name} {verified latest version} │                   │
│ Testing        │ {name} {verified latest version} │                   │
│ CI/CD          │ {name} {verified latest version} │                   │
│ Hosting        │ {name}                           │                   │
│ Monitoring     │ {name} {verified latest version} │                   │
│ Email          │ {name} {verified latest version} │                   │
│ File Storage   │ {name}                           │                   │
│ Search         │ {name} {verified latest version} │                   │
│ Queue/Jobs     │ {name} {verified latest version} │                   │
│ Analytics      │ {name} {verified latest version} │                   │
└────────────────┴─────────────────────────────────┴───────────────────┘

Only include rows relevant to the project. Each choice gets a one-line rationale.

Wait for user confirmation before proceeding. The tech stack determines everything that follows.

Language-Agnostic Version Verification Matrix

For EVERY language, verify these tool versions:

┌─────────────────────────────────────────────────────────────────────────┐
│ LANGUAGE     │ CORE VERSION │ PACKAGE MANAGER │ LINTER     │ TESTER      │
├─────────────────────────────────────────────────────────────────────────┤
│ TypeScript   │ Latest Node  │ npm/pnpm 10+    │ ESLint 9+  │ Vitest 3+   │
│ Python       │ 3.12+        │ pip/uv          │ Ruff 0.9+  │ pytest 8+   │
│ Go           │ 1.24+        │ go modules      │ golangci   │ go test     │
│ Rust         │ Latest       │ cargo           │ clippy     │ cargo test  │
│ Java         │ 21 LTS       │ Maven/Gradle    │ checkstyle │ JUnit 5     │
│ Kotlin       │ 2.1+         │ Gradle          │ ktlint     │ Kotest      │
│ C#           │ .NET 9+      │ NuGet           │ analyzers  │ xUnit       │
│ Swift        │ 6.0+         │ SwiftPM         │ swiftlint  │ XCTest      │
│ PHP          │ 8.4+         │ Composer 2+     │ PHPStan 2+ │ PHPUnit 11+ │
│ Ruby         │ 3.4+         │ Bundler         │ RuboCop    │ RSpec       │
└─────────────────────────────────────────────────────────────────────────┘

Polyglot Projects: Generate separate {language}-standards skills for each language.

1.3 — Generate Skill Map

Based on confirmed tech stack, produce a skill map — the complete list of skills to generate. Read references/skill-catalog.md for the full domain catalog.

Mandatory skills (generated for every project):

  1. project-architecture — folder structure, module boundaries, naming
  2. {language}-standards — language-level coding rules
  3. security-hardening — defense in depth, input/output, secrets, deps
  4. error-handling — error hierarchy, propagation, recovery
  5. data-validation — schema validation, sanitization, boundaries
  6. testing-strategy — test types, coverage, mocking, fixtures
  7. performance-optimization — budgets, profiling, caching, lazy loading
  8. git-workflow — branches, commits, PRs, releases
  9. documentation-standards — code docs, API docs, READMs, ADRs
  10. privacy-compliance — PII handling, data lifecycle, consent, GDPR/CCPA
  11. dependency-management — versioning, auditing, update policy, lockfiles

Conditional skills (generated when the project needs them):

  • {framework}-patterns — framework-specific conventions
  • database-design — schema, migrations, indexing, queries
  • api-design — endpoints, versioning, pagination, rate limiting
  • ui-engineering — components, styling, responsive, a11y
  • state-management — client/server/URL/form state patterns
  • auth-patterns — authn, authz, sessions, tokens, MFA
  • devops-pipeline — CI/CD, environments, deployment, rollback
  • observability — logging, metrics, tracing, alerting
  • accessibility-standards — WCAG compliance, ARIA, keyboard nav
  • internationalization — i18n, l10n, RTL, pluralization
  • payment-integration — billing, subscriptions, webhooks, PCI
  • file-handling — uploads, storage, processing, CDN
  • realtime-system — WebSocket, SSE, pub/sub, presence
  • email-system — transactional, templates, queue, compliance
  • search-implementation — engine, indexing, relevance, autocomplete
  • background-jobs — queues, scheduling, retry, dead letter
  • mobile-patterns — navigation, offline, push, deep links
  • desktop-patterns — window mgmt, tray, IPC, auto-update
  • cli-design — commands, args, output, config, shell completion
  • monorepo-management — workspaces, boundaries, versioning
  • ai-integration — LLM calls, prompts, streaming, cost, safety
  • caching-strategy — layers, invalidation, CDN, stale-while-revalidate
  • rate-limiting — algorithms, tiers, headers, distributed limiting
  • feature-flags — rollout, targeting, kill switches, cleanup
  • migration-strategy — zero-downtime, data migrations, backward compat
  • container-orchestration — Docker, K8s, health checks, resources
  • infrastructure-as-code — Terraform/Pulumi, state, modules
  • event-driven-architecture — event sourcing, CQRS, sagas
  • graphql-patterns — schema design, resolvers, N+1, batching
  • websocket-patterns — connection management, rooms, reconnection
  • microservice-patterns — service boundaries, communication, discovery

Present the skill map organized by generation layer. Wait for user confirmation.


Phase 2: Skill Generation Engine

2.1 — Generation Order (Dependency Layers)

Generate skills in strict dependency order — later skills can reference earlier ones:

Layer 0: project-architecture
         (defines folder structure, module boundaries, naming — everything else references this)

Layer 1: {language}-standards, git-workflow, documentation-standards
         (foundational coding and process standards)

Layer 2: security-hardening, error-handling, data-validation, privacy-compliance,
         dependency-management
         (cross-cutting safety and quality concerns)

Layer 3: database-design, api-design, auth-patterns, caching-strategy
         (data and communication layer)

Layer 4: {framework}-patterns, ui-engineering, state-management,
         accessibility-standards
         (presentation and interaction layer)

Layer 5: testing-strategy, performance-optimization
         (quality assurance — needs all other skills to exist first)

Layer 6: devops-pipeline, observability, container-orchestration,
         infrastructure-as-code
         (operations layer)

Layer 7: Domain-specific skills (payments, i18n, email, search, realtime,
         background-jobs, feature-flags, AI, etc.)
         (only relevant domains)

2.2 — Skill File Structure

Every generated skill MUST produce this file tree:

{skill-name}/
├── SKILL.md              # Main instructions (< 500 lines)
├── references/
│   ├── patterns.md       # Approved patterns with full code examples
│   ├── anti-patterns.md  # Forbidden patterns with severity + explanation
│   └── checklist.md      # Pre-commit/pre-merge verification checklist
└── templates/            # (optional) Code templates, configs
    └── *.template.*

2.3 — Content Requirements

Read references/skill-template.md for the exact skeleton. Read references/generation-guide.md for domain-specific content requirements.

Every generated skill MUST contain:

  1. YAML frontmatter — name + aggressive description for reliable triggering
  2. Activation conditions — exact triggers (file types, directories, user phrases)
  3. Project context — references to actual project tech, paths, decisions
  4. Numbered core rules (15-40 per skill) — each with rationale + code examples
  5. Approved patterns — copy-pasteable code showing the right way
  6. Anti-patterns with severity (🔴 CRITICAL / 🟠 HIGH / 🟡 MEDIUM / 🟢 LOW)
  7. Performance budgets — concrete measurable numbers, not vague goals
  8. Security checklist — domain-specific security verification items
  9. Error scenarios table — what fails, how to detect, how to recover
  10. Edge cases — documented with handling instructions
  11. Integration points — how this skill connects to other generated skills
  12. Pre-commit checklist — verification items before code can be committed

2.4 — Writing Principles

  • Explain the WHY: Claude and developers are smart — reasoning > rigid commands
  • Concrete over abstract: Real code examples > descriptions of code
  • Project-specific: Reference actual tech choices, paths, and decisions — never generic
  • Opinionated: Pick one best approach and enforce it, don't offer menus
  • Testable: Every rule must be verifiable (lint rule, test, code review check)
  • Examples compile: All code examples must work if copy-pasted, no pseudocode
  • Both sides: Show correct AND incorrect for every critical rule

2.5 — Cross-Skill Consistency

After generating all skills, verify:

  • No contradictions between skills
  • Shared terminology is consistent across all skills
  • Import paths reference actual project structure
  • Tech versions match across all skills
  • Error handling patterns are uniform
  • Logging format is identical everywhere
  • Validation approach is the same everywhere
  • Security rules don't conflict

Phase 3: Output

3.1 — Directory Layout

{project-root}/
├── .claude/
│   └── skills/
│       ├── project-architecture/
│       │   ├── SKILL.md
│       │   └── references/
│       ├── {language}-standards/
│       │   ├── SKILL.md
│       │   ├── references/
│       │   └── templates/
│       ├── security-hardening/
│       │   ├── SKILL.md
│       │   └── references/
│       ├── ... (all generated skills)
│       └── _bootstrap-manifest.json
├── .gitignore
└── ... (application code comes AFTER bootstrap)

3.2 — Bootstrap Manifest

Generate _bootstrap-manifest.json:

{
  "project": "{name}",
  "bootstrapped_at": "{ISO-8601}",
  "tech_stack": {},
  "skills_generated": [
    {
      "name": "{skill-name}",
      "path": ".claude/skills/{skill-name}/",
      "layer": 0,
      "depends_on": [],
      "domains_covered": ["architecture", "folder-structure", "naming"]
    }
  ],
  "total_skills": 0,
  "total_rules": 0,
  "total_anti_patterns": 0,
  "coverage": {
    "security": true,
    "performance": true,
    "privacy": true,
    "testing": true,
    "accessibility": true,
    "error_handling": true,
    "documentation": true,
    "observability": true
  }
}

Phase 4: Validation

Before declaring bootstrap complete, run validation using both JavaScript and Python validators:

Validation Checklist

  1. Completeness — Every tech stack component is covered by at least one skill
  2. Contradictions — No two skills give conflicting advice
  3. Dependencies — Every skill's depends_on targets exist
  4. Coverage — Security, performance, privacy, testing, error handling all covered
  5. Specificity — Skills reference actual project names, paths, versions
  6. Quality — Run validators against the generated skills

Running Validators

JavaScript/Node.js (default):

# Validate all skills
node scripts/validate_bootstrap.js .claude/skills/

# Check version consistency
node scripts/version_checker.js .claude/skills/

# Check compliance (if you have source code)
node scripts/check_skill_compliance.js src/

Python (alternative):

# Validate all skills
python scripts/validate_bootstrap.py .claude/skills/

# Check version consistency
python scripts/version_checker.py .claude/skills/

# Check compliance
python scripts/check_skill_compliance.py src/

Validation Output

Present a summary table:

╔═══════════════════════════════════════════════════╗
║  BOOTSTRAP COMPLETE                               ║
╠═══════════════════════════════════════════════════╣
║  Project: {name}                                  ║
║  Skills Generated: {N}                            ║
║  Total Rules: {N}                                 ║
║  Total Anti-Patterns: {N}                         ║
║  Security Rules: {N}                              ║
║  Performance Budgets: {N}                         ║
║  Privacy Controls: {N}                            ║
║  Test Requirements: {N}                           ║
╠═══════════════════════════════════════════════════╣
║  ✅ No contradictions found                       ║
║  ✅ All dependencies resolved                     ║
║  ✅ Full coverage verified                        ║
║  ✅ Validators passed                             ║
║  ✅ Ready to code                                 ║
╚═══════════════════════════════════════════════════╝

Phase 5: Continuous Compliance (project-manager skill)

CRITICAL: After bootstrap, the project-manager skill ensures ongoing compliance:

What project-manager Does

  • Monitors all code changes in real-time
  • Validates every modification against active skills
  • Blocks commits with skill violations
  • Reports compliance metrics weekly
  • Guides developers back to skill compliance
  • Detects skill drift automatically

Tools Available

JavaScript:

# Check code compliance
node scripts/check_skill_compliance.js src/

# Analyze skill coverage
node scripts/analyze_skill_coverage.js src/

# Generate weekly report
node scripts/generate_compliance_report.js --week

Python:

# Check code compliance
python scripts/check_skill_compliance.py src/

# Analyze skill coverage
python scripts/analyze_skill_coverage.py src/

# Generate weekly report
python scripts/generate_compliance_report.py --week

Pre-Commit Hooks

Set up automated compliance checking:

# Install pre-commit hook
cp scripts/pre-commit.example .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit

Result: Skills become active guardrails, not just documentation.


Phase 6: Handoff

After bootstrap and validation:

  1. Confirm all skills are generated in .claude/skills/
  2. Explain the project-manager skill will monitor compliance
  3. Show how to run validators (both JS and Python options)
  4. Demonstrate compliance checking commands
  5. Transition to actual development

Every file created or edited will be governed by the relevant skills automatically, enforced by the project-manager skill.


Rules for This Skill

Core Principles

  • This skill generates OTHER skills — it never generates application code
  • Generated skills must be project-specific, not generic boilerplate
  • When in doubt, generate MORE skills rather than fewer
  • If the user's project needs a domain not in the catalog, invent a new skill for it
  • Follow the user's language preference (English by default)
  • The tech stack is tech-agnostic: works for TypeScript, Python, Go, Rust, Java, C#, Swift, Kotlin, PHP, Ruby, or any combination
  • For polyglot projects, generate per-language skills
  • Read ALL reference files before generating ANY skills

Validation Requirements

ALWAYS run validators after generation:

# Option 1: JavaScript/Node.js (recommended, no Python needed)
node scripts/validate_bootstrap.js .claude/skills/

# Option 2: Python (if available)
python scripts/validate_bootstrap.py .claude/skills/

Validation must pass before declaring bootstrap complete.

Required Skills

ALWAYS generate the project-manager skill alongside other skills. It:

  • Monitors compliance throughout development
  • Validates code against skills in real-time
  • Generates compliance reports
  • Prevents skill drift

Version Verification

CRITICAL: Every technology version MUST be verified via real-time lookup:

  • Use WebSearch, WebFetch, or Context7
  • Document verification source and date
  • Never use memorized versions
  • Verify ALL dependencies, not just frameworks

Post-Generation Checklist

Before handoff:

  • All skills generated in .claude/skills/
  • project-manager skill included
  • Validation passed (JS or Python)
  • Version checker run
  • _bootstrap-manifest.json created
  • Compliance tools explained to user
  • Pre-commit hooks mentioned

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.7%
按下载量换算231

Claude

32.36%
按下载量换算228

Cursor

18.07%
按下载量换算127

Gemini CLI

9.52%
按下载量换算67

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills