AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Commit Phase

skill-takleb3rry-claude-global-appbuilding-skills-commit-phase · by takleb3rry

Complete git workflow for a phase - branch, commit, merge, cleanup

No reviews yet
0 installs
20 views
0.0% view→install

Install

$ agentstack add skill-takleb3rry-claude-global-appbuilding-skills-commit-phase

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-takleb3rry-claude-global-appbuilding-skills-commit-phase)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Commit Phase? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Commit Phase

Complete git workflow for Phase $ARGUMENTS:

Step 0: Pre-Commit Checks

Run the following checks before committing.

> If you're thinking... | Do this instead > ---|--- > "Naming conventions are fine, I followed them during build" | That's what the check verifies. If you followed them, it takes 5 seconds. > "I'll merge to main, staging is overkill for this" | Ask the user. Merge target is their decision, not yours. > "The plan file is still useful, I'll keep it" | Used plans are noise. Delete it. The implementation plan and git history are the record.

0a: Naming Convention Check

If naming_conventions.md exists in project root:

  1. Identify the project's primary language/framework from project files
  2. Get changed source files relevant to that stack: git diff --name-only HEAD
  3. For each changed file, verify it follows the conventions documented in naming_conventions.md
  • Focus on naming consistency, test selectors, and patterns defined in the conventions
  • Use judgment about which conventions apply to which file types
  1. Report findings:
  • BLOCKING: Issues that will likely break tests or cause runtime errors
  • WARNING: Inconsistencies that deviate from documented conventions
  1. If issues found, ask: "Fix now or proceed anyway?"
  2. If proceeding with issues, append to commit message:

"Note: Convention issues deferred - see harmonize-report.md"

0b: DB Integration Check

If staged files touch src/lib/db/schema/ or drizzle/migrations/:

  1. Run: npx vitest run src/lib/db/integration.test.ts
  2. Report findings:
  • BLOCKING: Any table missing from the live DB (migration not applied)
  • BLOCKING: DATABASE_URL not set or DB unreachable
  • PASS: All expected tables found — report the count and proceed
  1. If BLOCKING issues found, ask: "Apply pending migrations first, or proceed anyway?"
  2. If proceeding with issues, note it in the commit message

Steps 1-5: Git Workflow

  1. Check current branch: If on main or staging, create feature branch:

git checkout -b phase-$ARGUMENTS-implementation

  1. Stage all changes: git add .
  2. Commit with message: "Phase $ARGUMENTS: [brief description of phase deliverables]"
  3. Push branch: git push -u origin phase-$ARGUMENTS-implementation
  4. Merge target — ask user before merging:
  • Check if a staging branch exists: git branch -a | grep staging
  • If staging exists, ask: "Merge to staging (preview/test) or main (production)?"
  • If no staging branch exists, merge to main (current behavior)
  • Execute:
  • If staging: git checkout staging && git merge phase-$ARGUMENTS-implementation && git push
  • If main: git checkout main && git merge phase-$ARGUMENTS-implementation && git push
  • Return to the feature branch after merge: git checkout phase-$ARGUMENTS-implementation

Use implementation_plan.md to reference what this phase delivered for the commit message.

Step 6: Clean Up Plan File

After merge is complete, delete phase{$ARGUMENTS}_plan.md if it exists. Just delete it locally - do NOT commit or push this deletion separately. It will be included in the next phase's commit naturally.

Benefits of This Workflow

  • Traceability: Each phase has its own branch in git history
  • Rollback capability: Can revert the merge commit if needed
  • Clear audit trail: Feature branches document what changed per phase
  • Quality gate: Naming conventions checked before merge

When to Use

  • Phase implementation is complete and tested
  • User says "commit phase X", "finish phase X", "wrap up phase X"
  • User says "phase X is done", "let's commit this phase", "finish up phase X"
  • Ready to merge completed work to main

When NOT to Use

  • Work is incomplete or tests are failing
  • Still in the middle of implementing (continue with /execute-phase)
  • Just want a regular commit (use git directly)

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.