From devflow
Configures DevFlow backends for issue tracking, documentation, and VCS. Use this skill when the user wants to set up, configure, or reconfigure their DevFlow development workflow backends, or when another command/skill says to run setup.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin codingthefuturewithai-claude-code-primitivesThis skill is limited to using the following tools:
**Say exactly:** "SKILL INVOKED: setup"
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Say exactly: "SKILL INVOKED: setup"
Check for an existing config file:
~/.claude/plugins/config/devflow/config.mdIf config exists, tell the user:
"You have an existing DevFlow configuration. Would you like to:"
- Reconfigure from scratch
- Keep current settings
- View current settings
If "Keep" → end. If "View" → display config, then ask if they want to reconfigure.
Ask:
"Do you want to use an issue tracker with DevFlow?"
- Yes - Jira (Atlassian MCP)
- Yes - GitLab Issues (GitLab MCP)
- Yes - GitHub Issues (gh CLI)
- No - Skip issue tracking
Route based on selection:
ISSUES_BACKEND=none, ISSUES_ENABLED=falseStore results: ISSUES_BACKEND, ISSUES_ENABLED, ATLASSIAN_VERIFIED (bool), CLOUD_ID (if Jira)
Ask:
"Do you want documentation integration?"
- Yes - Confluence (Atlassian)
- Yes - Google Drive
- No - Skip documentation
Route based on selection:
ATLASSIAN_VERIFIED=true from Step 1: "Atlassian MCP already connected. Confluence is available."
Ask for optional default_space, then continue.DOCS_BACKEND=none, DOCS_ENABLED=falseAsk:
"Do you want RAG Memory for AI-retrievable knowledge?"
RAG Memory stores knowledge that AI can search and retrieve — useful for technical documentation, project notes, and quick references.
- Yes - Enable RAG Memory
- No - Skip RAG Memory
Route based on selection:
RAG_ENABLED=falseIf both docs AND RAG Memory enabled, ask routing preference:
"You have both a docs backend and RAG Memory. How should content be routed?"
- Let me decide each time (default)
- Quick notes → RAG, formal docs → [Confluence/Google Drive]
- Everything to RAG Memory
Ask:
"Do you want to enable Code Intelligence with LSP plugins?"
LSP plugins give Claude real-time type checking, jump-to-definition, and immediate error detection for your code.
- Yes - Set up LSP plugins for languages I use
- No - Skip code intelligence
Route based on selection:
LSP_ENABLED=falseStore results: LSP_ENABLED, installed_plugins[], pending_plugins[]
VCS is determined by issue tracker choice:
git remote get-url origin 2>/dev/null
github.com → GitHub (PRs)gitlab → GitLab (MRs)Display:
"VCS Backend: [GitHub PRs / GitLab MRs]"
Display a summary table of all settings:
DevFlow Configuration Summary
=============================
Issue Tracking:
Backend: [jira/gitlab/github/none]
Status: [enabled/disabled]
Documentation:
Backend: [confluence/google-drive/none]
Status: [enabled/disabled]
Organization: [manual/default-folder/ask-each-time]
Knowledge Base (RAG Memory):
Status: [enabled/disabled]
Routing: [decide-each-time/quick-to-rag/all-to-rag]
Code Intelligence (LSP):
Status: [enabled/disabled]
Installed Plugins: [list of installed LSP plugins]
Version Control:
Backend: [github/gitlab]
Auto-detected: [yes/no]
Ask:
"Save this configuration?"
- Yes - Save configuration
- No - Cancel setup
First, create the config directory if it doesn't exist:
mkdir -p ~/.claude/plugins/config/devflow
Then write to ~/.claude/plugins/config/devflow/config.md:
# DevFlow Backend Configuration
# Generated by /devflow-setup
# Regenerate anytime with: /devflow-setup
## Issue Tracking
backend: [jira/gitlab/github/none]
enabled: [true/false]
# For Jira:
cloudId: [if jira]
# For GitLab:
default_project: [if gitlab, optional]
# For GitHub:
# Uses current repo context via gh CLI
## Documentation
backend: [confluence/google-drive/none]
enabled: [true/false]
organization: [manual/default-folder/ask-each-time]
# For Google Drive with default-folder:
default_folder_id: [folder id]
# For Confluence:
default_space: [space key, optional]
## Knowledge Base (RAG Memory)
enabled: [true/false]
routing: [decide-each-time/quick-to-rag/all-to-rag]
## Code Intelligence (LSP)
enabled: [true/false]
installed_plugins: [list]
pending_plugins: [list with binaries needed]
## Version Control
backend: [github/gitlab]
# Auto-detected from git remote
Say: "DevFlow configured! Your backends are ready."
Find the installed plugin location:
# Find plugin cache path
find ~/.claude/plugins/cache/claude-code-primitives -name "devflow" -type d 2>/dev/null | head -1
Or if in source repo: plugins/devflow
List all skills in the plugin's skills/ directory:
ls "$PLUGIN_PATH/skills/"
For each skill, follow the symlink and read SKILL.md to extract:
Group skills by category prefix (build, pm, docs, rag-memory, devops) and present:
## Available Skills
### Build ([count] skills)
| Skill | Description |
|-------|-------------|
| `/devflow:build:fetch-issue` | description |
### PM ([count] skills)
...
Reconfigure anytime:
/devflow-setupFull guide:
/devflow:plugin-overviewto see all skills, hooks, and usageIf you enabled RAG Memory: Run
/devflow:rag-memory:setup-collectionsto create recommended collections
Recommend these after setup is complete. Install via /plugin install <name>@claude-plugins-official.
| Plugin | Required? | Purpose |
|---|---|---|
context7 | Required for tech research | Provides up-to-date library docs for the tech-researcher agent used in architecture design. Without it, tech research falls back to training data only. |
playground | Recommended | Generates interactive HTML code maps and diff viewers. Used optionally in fetch-issue (explore codebase before planning), document-legacy-codebase (visual code map), and review-pr (interactive diff visualization). |
claude-md-management | Recommended | Audits and improves CLAUDE.md files over time. Complements DevFlow's generate-claude-md skill — DevFlow creates the convention layer, claude-md-management keeps it current. Run /revise-claude-md at the end of any session to capture what was learned. |
Install all three:
/plugin install context7@claude-plugins-official
/plugin install playground@claude-plugins-official
/plugin install claude-md-management@claude-plugins-official