seed-communitylisted
Install: claude install-skill Roxabi/roxabi-plugins
# Seed Community
Let:
σ := `.claude/stack.yml` config
M := project metadata (name, description, license, author, repo URL)
χ := community health file
θ := stub threshold (< 20 lines of real content)
MISSING := χ not present or below θ
GENERATED := [] — accumulator
**Goal:** detect MISSING χ, generate with project-specific content, leave existing populated files untouched.
**Idempotent** — files ≥ 20 lines skipped unless `--force`.
```
/seed-community → detect + generate all MISSING
/seed-community --only SECURITY,CoC → comma-separated subset
/seed-community --force → overwrite even populated files
```
## Phase 1 — Load Metadata
**1a.** Read σ (`cat .claude/stack.yml 2>/dev/null`). Extract: `runtime`, `package_manager`, `commands.*`, `build.formatter`.
**1b.** Read project metadata:
```bash
# JS/TS
cat package.json 2>/dev/null | grep -E '"name"|"description"|"license"|"author"|"version"|"repository"'
# Python
cat pyproject.toml 2>/dev/null | grep -E '^name|^description|^license|^authors|^version'
# Go
cat go.mod 2>/dev/null | head -5
```
**1c.** Git remote → repo URL:
```bash
gh repo view --json nameWithOwner,description,licenseInfo,url 2>/dev/null
```
**1d.** Read `CLAUDE.md` (∃). Extract: purpose (1–3 sentences), commit format, branch conventions, PR/review process, stack notes. Merge into M: `{name, description, license, author, repo_url, commit_format, pr_process, stack}`.
## Phase 2 — Detect Missing Files