source-command-dev-loop
FreeNo executable scriptsNot checkedFast development loop for small changes (validate → fix → commit → deploy)
by databayt★ 19 GitHub starsAbout this skill
source-command-dev-loop
Use this skill when the user asks to run the migrated source command dev-loop.
Command Template
Fast Development Loop
Optimized cycle for small changes. Runs quick checks, auto-fixes, commits, and deploys.
Execute This Loop
Step 1: Quick Validation (5s)
pnpm tsc --noEmit && pnpm lint --quiet
If errors found:
- Run
pnpm lint --fixfor auto-fixable issues - Report remaining errors and STOP (don't proceed with broken code)
Step 2: Test Changed Files (10s)
pnpm tests --changed --run
If tests fail → STOP and report failures
Step 3: Build Check (15s)
pnpm build
If build fails → STOP and report errors
Step 4: Auto-Commit
If all checks pass:
- Stage changes:
git add -A - Generate commit message from changes (conventional format)
- Commit with message:
git commit -m "$(cat <<'EOF'
<type>: <description>
🤖 Generated with [Codex](https://Codex.com/Codex)
Co-Authored-By: Codex <[email protected]>
EOF
)"
Step 5: Deploy to Staging
git push origin HEAD
Vercel auto-deploys on push. Monitor deployment status.
Step 6: Report
═══════════════════════════════════════
✅ DEVELOPMENT LOOP COMPLETE
═══════════════════════════════════════
TypeScript: ✅ 0 errors
Lint: ✅ Passed
Tests: ✅ X passed
Build: ✅ Xs
Commit: ✅ <hash>
Deploy: ✅ Pushed to <branch>
🔗 Preview: https://<branch>---hogwarts.vercel.app
═══════════════════════════════════════
Failure Handling
If any step fails:
- Report the specific failure
- Suggest fix command
- Do NOT proceed to next steps
- User can re-run
/devafter fixing
When to Use
| Change Size | Command | Time |
|---|---|---|
| Tiny (typo, style) | /dev |
~30s |
| Small (bug fix, small feature) | /dev |
~30s |
| Medium (new component) | /validate |
~2min |
| Large (new feature) | /ship production |
~5min |
Skip Options
- Skip tests: "skip tests" in prompt
- Skip deploy: "no deploy" in prompt
- Staging only: default behavior
- Production: use
/ship productioninstead
Install source-command-dev-loop in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the source-command-dev-loop skill do?
Fast development loop for small changes (validate → fix → commit → deploy)
How do I install the source-command-dev-loop skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the source-command-dev-loop skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic