Skip to content
Back to skills

Init

ASecurity

Use when the user types /pod:init or asks to set up pod in a project, or to update pod's docs.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentsgonoderailsgit

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add iamphduc/claude-pod --skill init --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Init?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Init
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iamphduc-init/badge)](https://www.skillsdirectory.com/skills/iamphduc-init)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: init
description: Use when the user types /pod:init or asks to set up pod in a project, or to update pod's docs.
---

Set up a project so the other pod commands can run: pod's docs in `pod-docs/`, a map of the code, and a GitHub `origin` with a first commit. The human gets what is ready, what was fixed, what is still missing, and the next command.

## Guardrails

- Never overwrite or delete an existing file.
- Ask before each step that creates something off this machine, such as a GitHub repo or a push.
- Commit nothing: pod never commits to the merge-target, and `/pod:code` commits pod's setup to the plan branch. A first commit you suggest leaves out `pod-docs/`.

## Work

### Docs version

- **Current version:** **2**. Every pod skill checks the version before it touches pod's files.
- **Version line:** `pod-docs/README.md` has a `pod docs: <N>` line → version N.
- **Version 1:** no such line, but `docs/codebase-structure.md` or `docs/handoff-queue.md` exists → version 1 (pod's files in `docs/`, before `pod-docs/`).
- **Not set up:** neither → `/pod:init` sets it up; skills that only write to `pod-docs/` create what they need.
- **Other version:** not version 2 → every skill, this one included, stops and changes nothing: `pod's docs here are version <N>; this pod reads version 2.` Version 1 → add `To move them, run: node ${CLAUDE_PLUGIN_ROOT}/skills/init/upgrade-docs-v1.js` with the real path; newer → add `Update pod.`- **Set up:** pod counts a project as set up when `pod-docs/codebase-structure.md` exists, the repo has an `origin`, and a first commit.

### Config

- **Merge-target:** the branch plans go to through their final PR. A `--merge-target` flag wins, then `merge-target` in `pod-docs/config.md`, then origin's default branch (no file, or an empty value). The human edits that file; pod only reads it.

### Setup

- **Docs:** copy `${CLAUDE_PLUGIN_ROOT}/skills/init/scaffold/pod-docs/` into `pod-docs/`, skipping files that exist.
- **Map:** the repo has application code, and the brief still has `<!-- … -->` placeholders or `pod-docs/features.md` has no rows → dispatch `pod:scout` with only the repo root and relay its summary. An empty repo gets its map from the first sprint's bootstrap.
- **CI:** only when the human asks → add `.github/workflows/pod-ci.yml` per **Bootstrap CI** in `${CLAUDE_PLUGIN_ROOT}/agents/sprint-planner.md`, for the brief's runtime, and fill the brief's `## CI`.
- **CI in an empty repo:** the human asks for CI and the repo has no application code → skip it and say the first sprint's bootstrap adds it.
- **Tools:** `gh` is missing or not logged in → report the fix and skip the GitHub steps.
- **Ready to run:** no GitHub repo → create one (private unless told otherwise) whose first commit comes from GitHub, and base the local branch on it. Local commits but no `origin` → create it and push them. Anything else, such as an empty remote or a clashing local file → tell the human how to get a first commit.

## Hand back

- **Setup:** each of docs, map, origin, and CI if added, as `ready` / `fixed` / `missing — <fix>`, such as `gh: not logged in — gh auth login`. For docs, which files were created and which were already there.
- **Review:** the brief, `pod-docs/features.md`, and any new known issues. The brief's **Smoke recipe** must be right: engineers run it to check every slice. Record decisions in `pod-docs/decisions.md` as they're made.
- **Next:** `/pod:plan`, or `/pod:sprint` or `/pod:autopilot` if a plan exists.

Files in this skill

  • SKILL.md4.5 KB
  • scaffold/pod-docs/README.md1.4 KB
  • scaffold/pod-docs/codebase-structure.md1.6 KB
  • scaffold/pod-docs/decisions.md379 B
  • scaffold/pod-docs/features.md1 KB
  • scaffold/pod-docs/handoff-queue.md2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.