スキル一覧に戻る
mjwestcott

scaffold

by mjwestcott

Configuration for vim, tmux, zsh, bash, etc.

7🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: scaffold description: Scaffold a new project from the fullstack or Rust CLI boilerplate. Use when starting a new codebase. user_invocable: true

Scaffold a new project using my standard boilerplates.

Available Boilerplates

1. Full-Stack (Python + React)

Located at assets/fullstack/.

Stack:

  • Backend: Python 3.12+, FastAPI, SQLAlchemy (async), Alembic, uv, ruff, pyright, pytest
  • Frontend: React, Vite, TypeScript, TanStack Query, shadcn/ui, Tailwind, vitest
  • Infrastructure: Docker Compose, PostgreSQL, Redis, GitHub Actions CI

2. Rust CLI

Located at assets/rust-cli/.

Stack:

  • Rust 2024 edition, MSRV 1.85+
  • clap (derive) — argument parsing with subcommands
  • anyhow + thiserror — error handling (app + lib pattern)
  • figment — layered config (file → env → CLI)
  • indicatif + colored — progress bars and terminal colors
  • tracing — structured logging
  • GitHub Actions CI, pre-commit hooks

Steps

  1. Ask what kind of project (if not specified):

    • Full-stack (Python + React) — use fullstack
    • Backend-only — use only backend/ from fullstack
    • Frontend-only — use only frontend/ from fullstack
    • Rust CLI — use rust-cli
  2. Copy the boilerplate: Copy the appropriate files from assets/ to the project root

  3. Customize:

    For Full-Stack:

    • Update project name in package.json, pyproject.toml, README.md
    • Adjust docker-compose.yml service names if needed
    • Remove example Item model/routes if not needed (or keep as reference)

    For Rust CLI:

    • Update project name in Cargo.toml, README.md
    • Rename binary if needed (update [[bin]] in Cargo.toml)
    • Adjust config paths in config.rs (defaults to mycli)
  4. Initialize:

    For Full-Stack:

    • git init (if not already a repo)
    • Create initial migration: just db-migrate "initial"

    For Rust CLI:

    • git init (if not already a repo)
    • cargo build to verify setup
  5. Verify it works:

    For Full-Stack:

    For Rust CLI:

    • Run just check (fmt + clippy + test)
    • Run cargo run -- --help to see CLI help
    • Run cargo run -- example to test example subcommand

Notes

  • Both boilerplates are working starting points—everything should run out of the box
  • Adapt as needed for the specific project
  • For hackathons: keep the example code as patterns to copy from

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です