Dev
Developer workflow commands — architecture planning, technical exploration, repo comparison, docs generation, PR review, and Linear integration.
The Dev skills cover the higher-level mechanics of the development loop: drafting architecture plans, researching technical approaches, comparing repositories, resolving PR comments, and generating architecture documentation.
Looking for commit, CI, and rebase? Those moved to the Git skill.
Installation
Claude Code:
npx skills add cloudvoyant/codevoyantOpenCode / VS Code Copilot: See the installation guide.
Typical Workflows
Open a PR or MR
/dev pr # creates PR/MR into main, auto-detects GitHub vs GitLab
/dev pr staging # target a different base branch
/dev pr-fix # fix open review comments on an existing PR/MRTracking Template Drift
If your project was bootstrapped from a template, use /dev diff periodically to see how you've diverged:
/dev diff https://github.com/org/template-repo
# Review .claude/diff.md for structural differencesArchitecture Documentation
/dev docs # Generate docs/architecture/ from codebase scan
/dev plan "authentication system" # Draft architecture plan to .codevoyant/plans/
/dev plan "auth" --mode arch # Architecture plan with task breakdown + LOE
/dev approve # Promote draft plan to docs/architecture/
/dev approve my-plan --push # Promote and create Linear tasksTechnical Research
/dev explore "caching strategy" # Research approaches, generate parallel proposalsSkills
Repository Comparison
Compare your current repository with another:
/dev diff <repository-url>The command will:
- Ask for your comparison objective
- Clone the target repository to a temp directory
- Analyze structural similarities and differences
- Generate a comprehensive diff report at
.claude/diff.md - Clean up temporary files
Use cases:
- Track how your project has diverged from a template or upstream fork
- Compare architectures between similar codebases
- Analyze migration differences between versions
Create PR / MR
Create a pull request (GitHub) or merge request (GitLab) from the current branch:
/dev pr # into main, auto-detects provider
/dev pr staging # target a different base branch
/dev pr --draft # create as draft
/dev pr --yes # skip confirmation prompt
/dev pr --github # force GitHub
/dev pr --gitlab # force GitLabWhat happens:
- Checks working tree is clean (no uncommitted changes)
- Detects GitHub vs GitLab from the remote URL
- Pushes the branch if it hasn't been pushed yet
- Checks no existing open PR/MR for this branch already exists
- Drafts a title and body from commits since the base branch
- Shows preview for review — you can approve, tweak, or cancel
- Creates the PR/MR and reports the URL
Flags:
[base-branch]— target branch (default:main)--draft— create as draft PR/MR--yes/-y— skip confirmation--github/--gitlab— override auto-detected provider
Fix PR Review Comments
Fetch open PR/MR review comments and propose fixes:
/dev pr-fix [pr-id]
/dev pr-fix [pr-id] --github # Force GitHub provider
/dev pr-fix [pr-id] --gitlab # Force GitLab provider
/dev pr-fix --silent # Suppress desktop notificationWorks with GitHub and GitLab. For each PR/MR with unresolved review comments, creates .codevoyant/pr-fix/{pr-id}.md containing the review threads and a "Proposed Fixes" section written by a background agent. Proposals are written to the document only -- not applied to code -- so you review them before deciding what to apply.
Technical Exploration
Research a technical problem before building:
/dev explore "caching strategy"
/dev explore "auth approaches" --aspectsRuns parallel proposal generation via subagents. Output lives in .codevoyant/explore/{name}/ so it can feed into /spec new later.
Architecture Documentation
Generate or update architecture documentation from a codebase scan:
/dev docs # Generate docs/architecture/ from codebase
/dev docs --bg # Run in background, notify when doneProduces component maps, data flow diagrams, API inventories, and dependency graphs.
Architecture Planning
Plan architecture for a project or feature:
/dev plan "authentication system" # Feature design doc (--mode feat)
/dev plan "auth" --mode arch # Architecture plan with task breakdown + LOE
/dev plan "auth" --mode arch --bg # Run in backgroundWrites a draft plan to .codevoyant/plans/{slug}/plan.md. For architecture-level plans (--mode arch), the plan includes a Task Breakdown — each task has a LOE estimate, blocking relationships, and acceptance criteria rich enough for autonomous implementation via /spec new and /spec bg.
Use /dev approve to promote the plan to docs/architecture/.
Flags:
--mode arch— architecture-level plan: produces task breakdown with LOE and dependency graph--mode feat— feature design doc only (no task breakdown)- If
--modeis omitted, the skill asks interactively
Architecture Approve
Promote a draft architecture plan to docs/architecture/ and optionally create Linear tasks:
/dev approve # Approve most recent dev:plan draft
/dev approve my-plan # Approve specific plan by slug
/dev approve my-plan --push # Approve and create new Linear project + tasks
/dev approve my-plan --push https://linear.app/... # Approve and push to existing Linear project
/dev approve my-plan --silent # Suppress notificationEach Linear task created includes: the relevant architecture doc section, scope, key constraints, and verifiable acceptance criteria — enough context for /spec new + /spec bg to execute autonomously.
Pre-approve Agent Permissions
/dev allow # Write dev permissions to project .claude/settings.json
/dev allow --global # Write to ~/.claude/settings.jsonAdds the allow entries needed for dev and git skills to run without permission prompts — git operations (including push), GitHub/GitLab CLI, desktop notifications, and the project's task runner.
List All Commands
/dev help # List all dev commands with descriptions
/dev help ci # Show full details for a specific command