ajianaz/codomate/bmad-project-setup

Claude Code and agent skill by ajianaz/codomate

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Initialize a new project with BMAD methodology — pull docs from Outline Cloud, setup _bmad structure, generate epics and stories, commit to develop branch. Reusable for any new product going through BMAD analysis.

Install

npx vskill@latest install ajianaz/codomate/bmad-project-setup

SKILL.md

BMAD Project Setup Workflow

Standard workflow for initializing a new project with BMAD (Business Model Analysis & Design) methodology. Covers: Outline Cloud doc sync, BMAD structure setup, epic/story generation, and git branch configuration.

Prerequisites

  • GitHub repo exists with docs (or Outline Cloud collection with project docs)
  • BMAD skills installed globally at ${BMAD_SKILLS_DIR}/
  • A coding agent CLI available at ${CODING_AGENT_PATH} (for scaffolding tasks)
  • Outline API key in ${ENV_FILE} as OUTLINE_API_KEY=***

Step 1: Pull Docs from Outline Cloud

Outline Cloud is the single source of truth for project documentation. Always pull latest before generating planning artifacts.

→ See `references/outline-api-integration.md` for full API code and configuration.

Step 2: Setup _bmad Directory Structure

BMAD skills need _bmad/ with access to global skill files, and _bmad-output/ for generated artifacts.

bash
cd ${PROJECT_DIR}
# Create _bmad with symlinks to global BMAD
mkdir -p _bmad
ln -s ${BMAD_SKILLS_DIR} _bmad/scripts
ln -s ${BMAD_CORE_DIR} _bmad/core
ln -s ${BMAD_CONFIG_DIR} _bmad/_config
mkdir -p _bmad/custom
touch _bmad/custom/.gitignore
# Create output directories
mkdir -p _bmad-output/planning-artifacts
mkdir -p _bmad-output/implementation-artifacts

⚠️ CRITICAL: Symlinks are NOT portable and must be gitignored. Only commit _bmad-output/ (the artifacts), NOT _bmad/ (the tooling symlinks).

gitignore
# BMAD local symlinks (global BMAD installed at ~/.agents/)
_bmad/

Step 3: Generate Epics & Stories (BMAD CE)

Generate epics & stories directly in the agent. Read planning artifacts, then write the epics file. Large doc generation tasks may timeout in coding agents — use the planning agent for document generation.

Epics file format (_bmad-output/planning-artifacts/epics-<module>.md):

  • Scope definition (in/out) + dependency graph between epics
  • Each epic: goal, effort estimate, priority, stories
  • Each story: as-a/I-want/so-that, acceptance criteria (- [ ] AC1: ...), priority (P0/P1/P2), tech notes
  • Effort summary table + sprint plan suggestion + API endpoints summary

Step 4: Git Branch Setup

Default Branch = develop

All new projects use develop as default branch (not main). All merges require PR.

bash
git checkout -b develop
git push -u origin develop
# Set as default on GitHub
GITHUB_TOKEN=$(grep OUTLINE_API_KEY ${ENV_FILE} | cut -d= -f2) \
${GH_CLI_PATH} repo edit --default-branch develop
CODEOWNERS for PR Enforcement

GitHub Free plan does not support branch protection API (returns 403). Use CODEOWNERS as workaround.

bash
mkdir -p .github
cat > .github/CODEOWNERS << 'EOF'
* ${GITHUB_USERNAME}
/internal/ ${GITHUB_USERNAME}
/web/ ${GITHUB_USERNAME}
EOF

This auto-requests reviews but doesn't block merges. Soft enforcement only on Free plan.

Step 5: Commit & Push

bash
git add .gitignore .github/CODEOWNERS _bmad-output/
git commit -m "feat: add BMAD planning artifacts and <module> epics"
git push origin develop

Workflow: Branch → PR → Merge (always)

feature/xxx → create PR → review → merge to develop
develop → create PR → review → merge to main (release)

NEVER push directly to develop or main. Always via PR.

Step 6: Go Workspace Scaffold

→ See `references/go-scaffold-via-coding-agent.md` for full scaffold instructions.

Task → Tool Matrix

TaskToolWhy
Epic/story generationPlanning agent (direct)Large doc output; coding agents may timeout
Sprint planningPlanning agent (direct)Planning doc, not code
Code scaffoldCoding agent (background)Code generation strength
Code reviewCoding agentCode analysis
Outline doc pushPlanning agent (direct)API calls + content

BMAD Skill Codes Reference

CodeNamePurpose
CEbmad-create-epics-and-storiesGenerate epics & stories from artifacts
CAbmad-create-architectureArchitecture design
IRbmad-check-implementation-readinessPre-implementation checklist
SPbmad-sprint-planningSprint planning from stories
CSbmad-create-storyCreate individual story
DSbmad-dev-storyImplement a story
QQbmad-quick-devQuick development task
GPCbmad-generate-project-contextGenerate project context summary

Related Skills

  • github-pr-workflow — PR lifecycle, branch protection, CODEOWNERS
  • writing-plans — Tech spec and implementation planning
  • plan — Inspect context and write spec before large tasks

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ajianaz/codomate/bmad-project-setup/badge)](https://verified-skill.com/skills/ajianaz/codomate/bmad-project-setup)

Something wrong with this skill or its page? Tell us.