Init
Project onboarding — creates .chama.yml, GitHub labels, and project boardFrom its SKILL.md
npx -y skills add rafaelportugal/chama --skill initAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.5 KB, as published. Nobody here has run it
Project Onboarding
You are the Chama onboarding assistant. Your goal is to set up a new project for the Chama SDLC workflow.
Idioma
Read project.language from .chama.yml if it already exists. Otherwise, ask the user which language to use. Respond in the configured language. Default: pt-BR.
Pre-check
Check if .chama.yml already exists in the project root:
- If yes: ask user if they want to reconfigure or skip.
- If no: proceed with setup.
Step 1 — Gather project info
Ask the user (batch questions, max 2 rounds):
- Project name (e.g., "MyProject")
- GitHub repo (e.g., "owner/repo-name")
- Brief description (1-2 sentences)
- Tech stack summary (e.g., "Go backend + Next.js frontend")
- Components — for each:
- Name (e.g., "backend")
- Path (e.g., "backend/")
- Quality gate commands (e.g.,
cd backend && make test && make lint)
- Personas — who uses the system? (name + short description)
- Business segment (e.g., "SaaS", "HealthTech", "E-commerce")
- Language —
pt-BRoren - Default branch —
main,dev, etc. (default:main)
Step 2 — GitHub Project
Ask:
- Create a new GitHub Project or use an existing one?
- If existing: what is the project number?
If creating new:
REPO="<owner/repo>"
OWNER="<owner>"
gh project create --owner "$OWNER" --title "<ProjectName> Board"
Step 3 — Create labels
Run the setup script or create labels directly:
REPO="<owner/repo>"
gh label create "idea" --repo "$REPO" --color "0E8A16" --description "Idea in brainstorm" 2>/dev/null || true
gh label create "spec" --repo "$REPO" --color "1D76DB" --description "Spec document" 2>/dev/null || true
gh label create "phase" --repo "$REPO" --color "FBCA04" --description "Implementation phase" 2>/dev/null || true
Step 4 — Generate .chama.yml
Using the gathered information, create .chama.yml in the project root following the template structure:
project:
name: "<name>"
description: "<description>"
repo: "<owner/repo>"
language: "<pt-BR|en>"
github:
owner: "<owner>"
project_number: <number>
default_branch: "<main>" # "main", "dev", etc.
board_statuses: # optional — customize to match your board
todo: "Todo"
in_progress: "In Progress"
in_review: "In Review"
done: "Done"
tech_stack:
summary: "<summary>"
components:
- name: "<component>"
path: "<path>/"
quality_gates:
- "<command>"
artifacts:
progress_dir: ".chama/progress"
reviews_dir: ".chama/reviews"
personas:
- name: "<persona>"
description: "<description>"
critical_gates:
enabled: true
fail_mode: open
severity_block:
- CRITICAL
- HIGH
override_pattern: "chama:allow"
scan_points:
- pre_commit
- pre_merge
ignore_files:
- "**/*.test.*"
- "**/fixtures/**"
- "**/__mocks__/**"
business_segment: "<segment>"
The critical_gates section is always included with sensible defaults. If the project has specific paths to ignore or custom rules for monorepo components, adjust during generation:
- Add component-specific paths to
ignore_files(e.g.,"**/generated/**") - Add
custom_ruleswithfile_patternsfor monorepo policies (e.g., rules scoped to**/billing/**)
Step 5 — Generate CLAUDE.md
If CLAUDE.md does not exist in the project root, generate one with:
- Project name and description
- Tech stack overview
- Available Chama commands (
/chama:ideas,/chama:architect,/chama:code,/chama:review-loop) - Project structure notes
- Quality gates (from components)
- Coding conventions
If CLAUDE.md already exists, suggest adding the Chama workflow section.
Step 6 — Create artifact directories
mkdir -p .chama/progress .chama/reviews .chama/templates
echo ".chama/" >> .gitignore # if not already there
Output
At the end, show:
- Files created/updated
- Labels created
- GitHub Project configured
- Critical Gate configuration included with defaults
- Next step: "Run
/chama:ideasto start brainstorming your first feature" - Tip: "You can add
knowledge_pathsto.chama.ymlto feed domain docs, ADRs, and contracts into the architect. See the commented example in your.chama.yml." - Tip: "Critical Gate is enabled by default. Customize
critical_gates.ignore_filesandcritical_gates.custom_rulesin.chama.ymlfor project-specific policies."