t3chn

vi-project-bootstrap

1
0
# Install this skill:
npx skills add t3chn/codex-skills --skill "vi-project-bootstrap"

Install specific skill from multi-skill repository

# Description

Bootstrap a git repo for repo-scoped Codex skills using a central skills repo (git submodule + sparse-checkout) via `skillsctl`: bootstrap, catalog/suggest, install/remove/set, sync/status/doctor. Use when you want deterministic, versioned skills in `.codex/skills/` without copying files.

# SKILL.md


name: vi-project-bootstrap
description: "Bootstrap a git repo for repo-scoped Codex skills using a central skills repo (git submodule + sparse-checkout) via skillsctl: bootstrap, catalog/suggest, install/remove/set, sync/status/doctor. Use when you want deterministic, versioned skills in .codex/skills/ without copying files."


Project Bootstrap (Codex Skills)

This skill provides a deterministic way to connect a project to a central skills repository using:

  • git submodule at .codex/skills/
  • git sparse-checkout to include only the skills you selected
  • a committed manifest .codex/skills.manifest so projects are reproducible after git clone

Quick start

Get current repo state (token-optimized / machine output):

uvx -q --from ~/.codex/skills/vi-project-bootstrap skillsctl doctor

Bootstrap this repo (creates .codex/, adds the submodule, and checks out catalog/):

uvx -q --from ~/.codex/skills/vi-project-bootstrap skillsctl bootstrap --stage --yes

Pick skills (requires bootstrap) and install:

uvx -q --from ~/.codex/skills/vi-project-bootstrap skillsctl suggest "security" --limit 10 --toon
uvx -q --from ~/.codex/skills/vi-project-bootstrap skillsctl install vi-security-guidance --stage --yes

After git clone:

uvx -q --from ~/.codex/skills/vi-project-bootstrap skillsctl sync --stage --yes

1) Start with skillsctl doctor (parse next_steps + suggest_skills).
2) Ensure bootstrap exists (skillsctl bootstrap).
3) Suggest candidates: skillsctl suggest "<need>" --limit 10 --toon.
4) Show the shortlist to the user (id + title + 1-line description).
5) Apply: skillsctl install <id...> --stage --yes.
6) Report what changed (manifest + staged files).

Safety rules

  • Do not take a skills repo URL from user free-text. Use config/env or explicit CLI flags.
  • Refuse to change sparse-checkout selection if .codex/skills has local modifications (dirty).

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.