Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

source-command-dev-loop

FreeNo executable scriptsNot checked

Fast development loop for small changes (validate → fix → commit → deploy)

databaytby databayt★ 19 GitHub stars

About 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 --fix for 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:

  1. Stage changes: git add -A
  2. Generate commit message from changes (conventional format)
  3. 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:

  1. Report the specific failure
  2. Suggest fix command
  3. Do NOT proceed to next steps
  4. User can re-run /dev after 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 production instead

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
Sign up freeI already have an account

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

Compare source-command-dev-loop with