‹ 首页

project-bootstrapper

@mhattingpete · 收录于 1 周前 · 上游提交 4 个月前

Sets up new projects or improves existing projects with development best practices, tooling, documentation, and workflow automation. Use when user wants to start a new project, improve project structure, add development tooling, or establish professional workflows.

适合你,如果经常需要搭建新项目或统一团队开发规范

/ 下载安装
project-bootstrapper.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add mhattingpete/claude-skills-marketplace/project-bootstrapper
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- mhattingpete/claude-skills-marketplace/project-bootstrapper
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify mhattingpete/claude-skills-marketplace/project-bootstrapper
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
644GitHub stars
~834上下文体积 · 单文件
镜像托管

怎么用

技能原文 SKILL.md作者撰写 · Apache-2.0 · 3fa16a9

Project Bootstrapper

Sets up new projects or improves existing projects with development best practices, tooling, documentation, and workflow automation.

When to Use
  • "set up a new project"
  • "bootstrap this project"
  • "add best practices"
  • "improve project structure"
  • "set up development tooling"
  • "initialize project properly"
What It Sets Up
1. Project Structure
  • Standard directories (src/, tests/, docs/, scripts/, .github/)
  • Logical file organization
  • Structure improvements
2. Git Configuration
  • Comprehensive .gitignore
  • .gitattributes for line endings/diffs
  • Git hooks (pre-commit, commit-msg)
  • Branch protection patterns
  • Git LFS if needed
3. Documentation
  • Comprehensive README.md
  • CONTRIBUTING.md
  • Code documentation (JSDoc, docstrings)
  • CHANGELOG.md structure
  • Architecture docs if complex
4. Testing Setup
  • Identify/suggest testing framework
  • Test structure and conventions
  • Example/template tests
  • Configure test runners
  • Coverage reporting
  • Testing scripts/commands
5. Code Quality Tools
  • Linters (ESLint, Pylint, etc.)
  • Formatters (Prettier, Black, etc.)
  • Type checking (TypeScript, mypy, etc.)
  • Pre-commit hooks for quality
  • Editor configs (.editorconfig)
  • Code quality badges
6. Dependencies Management
  • Package manager configuration
  • Organize dependencies
  • Check security vulnerabilities
  • Set up dependency updates (Dependabot, Renovate)
  • Create lock files
  • Document dependency choices
7. Development Workflow
  • Useful npm scripts / Makefile targets
  • Environment variable templates (.env.example)
  • Docker configuration if appropriate
  • Development startup scripts
  • Hot-reload / watch modes
  • Document development workflow
8. CI/CD Setup
  • GitHub Actions / GitLab CI config
  • Automated testing
  • Automated deployment (if applicable)
  • Status badges
  • Release automation
  • Branch protection
Approach
Discovery Phase

Ask clarifying questions:

  1. Project type: New or existing?
  2. Primary purpose: Web app, library, CLI tool?
  3. Language/framework: JS/TS, Python, Go, etc.?
  4. Collaboration: Personal or team?
  5. Deployment target: Server, cloud, mobile, desktop?
  6. Preferences: Specific tools/frameworks?
  7. Scope: Full setup or specific areas?
Implementation Phase
  1. Analyze existing structure (if existing project)
  2. Create plan based on answers
  3. Show plan and get approval
  4. Implement systematically (one area at a time)
  5. Verify completeness
  6. Provide handoff documentation
Customization

Adapts to:

  • Language ecosystem: Node.js vs Python vs Go vs Rust
  • Project size: Small script vs large app
  • Team size: Solo vs collaborative
  • Maturity: Startup speed vs enterprise standards
Tools Used
  • AskUserQuestion: Gather requirements
  • Write: Create configuration files, documentation
  • Edit: Update existing files
  • Bash: Initialize tools (git init, npm init)
  • Read: Analyze existing structure
  • Glob: Find files to update
Success Criteria
  • All standard files present and configured
  • Clear and complete documentation
  • Documented development workflow
  • Automated quality tooling (pre-commit hooks)
  • Easy test execution
  • Follows language/framework conventions
  • Quick developer onboarding
  • No obvious best practices missing
Templates
  • Node.js/TypeScript web app
  • Python CLI tool
  • Python web API (FastAPI/Flask)
  • React/Next.js app
  • Go service
  • Rust CLI/library
Integration
  • feature-planning: For planning custom features
  • code-auditor: For validating setup quality
  • codebase-documenter: For generating detailed docs
Scope Control
  • Full bootstrap: Everything from scratch
  • Partial setup: Specific areas only (e.g., "just add testing")
  • Improvement pass: Enhance existing project
  • Audit + fix: Check what's missing and add it
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。