โ† Back to list
ShunsukeHayashi

full-dev-cycle

by ShunsukeHayashi

๐Ÿค– First open-source, economically-governed, beginner-friendly autonomous development framework built on Issue-Driven Development | ่ถ…ๅˆๅฟƒ่€…ใงใ‚‚ไฝฟใˆใ‚‹่‡ชๅพ‹ๅž‹้–‹็™บใƒ•ใƒฌใƒผใƒ ใƒฏใƒผใ‚ฏ

โญ 13๐Ÿด 8๐Ÿ“… Jan 24, 2026

SKILL.md


name: full-dev-cycle description: Complete development workflow integrating Git operations, GitHub PR management, and Docker deployment. Use for end-to-end development tasks. Triggers include "deploy changes", "create PR and deploy", "full cycle", "git to production", "commit and deploy", "development workflow", or any multi-stage development task. version: 1.0.0 author: Miyabi depends_on:

  • mcp-context-optimizer
  • docker-compose-workflow

Full Development Cycle Workflow

End-to-end development workflow: Git โ†’ GitHub PR โ†’ Docker Deploy

Workflow Overview

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   DEVELOP   โ”‚ โ†’ โ”‚    COMMIT   โ”‚ โ†’ โ”‚  CREATE PR  โ”‚ โ†’ โ”‚   DEPLOY    โ”‚
โ”‚             โ”‚    โ”‚             โ”‚    โ”‚             โ”‚    โ”‚             โ”‚
โ”‚ Code changesโ”‚    โ”‚ Git add/    โ”‚    โ”‚ Open PR     โ”‚    โ”‚ Docker      โ”‚
โ”‚ Test locallyโ”‚    โ”‚ commit/push โ”‚    โ”‚ Add labels  โ”‚    โ”‚ rebuild     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
       โ”‚                  โ”‚                  โ”‚                  โ”‚
       โ–ผ                  โ–ผ                  โ–ผ                  โ–ผ
   file tools         git tools        github tools       docker tools

Phase 1: Development Check

1.1 Review Current State

# Check git status
miyabi:git_status()

# View current branch
miyabi:git_current_branch()

# Check for uncommitted changes
miyabi:git_diff()

1.2 Validate Changes

# Review staged changes
miyabi:git_staged_diff()

# Check recent commits
miyabi:git_log({ limit: 5 })

Phase 2: Git Operations

2.1 Stage and Commit

# Stage all changes (via bash if needed)
bash: git add -A

# Or stage specific files
bash: git add src/feature.ts tests/feature.test.ts

2.2 Create Semantic Commit

## Commit Message Format
<type>(<scope>): <description>

[optional body]

[optional footer]

Types:

TypeUse Case
featNew feature
fixBug fix
docsDocumentation
styleFormatting
refactorCode restructure
testTests
choreMaintenance

2.3 Push Changes

# Push to remote
bash: git push origin $(git branch --show-current)

# If new branch
bash: git push -u origin $(git branch --show-current)

Phase 3: GitHub PR Creation

3.1 Check Repository State

# View existing PRs
miyabi:github_list_prs({ state: "open" })

# Check branch comparison
miyabi:github_compare_commits({
  base: "main",
  head: "feature-branch"
})

3.2 Create Pull Request

miyabi:github_create_pr({
  title: "feat(module): Add new feature",
  head: "feature-branch",
  base: "main",
  body: "## Summary\n\n- Added X\n- Fixed Y\n\n## Testing\n\n- [ ] Unit tests\n- [ ] Integration tests"
})

3.3 Add Labels and Metadata

# Add labels
miyabi:github_add_labels({
  issue_number: PR_NUMBER,
  labels: ["enhancement", "ready-for-review"]
})

# Add comment
miyabi:github_add_comment({
  issue_number: PR_NUMBER,
  body: "Ready for review. CI passing."
})

Phase 4: Docker Deployment

4.1 Pre-Deployment Checks

# Check current containers
miyabi:docker_ps({ all: true })

# View current resource usage
miyabi:docker_stats({ noStream: true })

4.2 Rebuild and Deploy

# Stop current services
miyabi:compose_down({
  path: "./docker-compose.yml"
})

# Rebuild with no cache
miyabi:docker_build({
  tag: "myapp:latest",
  noCache: true
})

# Start services
miyabi:compose_up({
  path: "./docker-compose.yml",
  build: true,
  detach: true
})

4.3 Verify Deployment

# Check container status
miyabi:compose_ps({
  path: "./docker-compose.yml"
})

# View logs for errors
miyabi:compose_logs({
  path: "./docker-compose.yml",
  tail: 50
})

# Health check
miyabi:health_check()

# Port verification
miyabi:network_port_check({
  host: "localhost",
  port: 3000
})

Complete Workflow Scripts

Quick Deploy (Single Command Workflow)

## Trigger: "deploy my changes"

1. git_status โ†’ Check for changes
2. git_diff โ†’ Review changes
3. bash: git add -A && git commit -m "message"
4. bash: git push
5. github_create_pr โ†’ Create PR
6. compose_down โ†’ Stop services
7. compose_up --build โ†’ Rebuild and start
8. compose_logs โ†’ Verify

Hotfix Workflow

## Trigger: "hotfix for issue #123"

1. bash: git checkout -b hotfix/issue-123 main
2. [make changes]
3. git_status โ†’ Verify changes
4. bash: git add -A && git commit -m "fix: resolve #123"
5. bash: git push -u origin hotfix/issue-123
6. github_create_pr โ†’ PR to main
7. github_add_labels โ†’ ["hotfix", "urgent"]
8. compose_up --build โ†’ Deploy

Feature Branch Workflow

## Trigger: "complete feature X"

1. git_current_branch โ†’ Verify on feature branch
2. git_log โ†’ Review commit history
3. github_compare_commits โ†’ See diff from main
4. github_create_pr โ†’ Create detailed PR
5. [wait for review/approval]
6. github_merge_pr โ†’ Merge when ready
7. bash: git checkout main && git pull
8. compose_up --build โ†’ Deploy main

Tool Reference Table

PhaseToolPurpose
Devgit_statusCheck working tree
Devgit_diffReview changes
Commitgit_logView history
Commitgit_staged_diffReview staged
PRgithub_list_prsExisting PRs
PRgithub_create_prNew PR
PRgithub_add_labelsCategorize
Deploydocker_psContainer status
Deploycompose_upStart services
Deploycompose_logsVerify logs
Verifyhealth_checkSystem health
Verifynetwork_port_checkPort status

Error Handling

Git Conflicts

# Check for conflicts
miyabi:git_conflicts()

# If conflicts exist:
1. Review conflicting files
2. Resolve manually or with tool
3. Stage resolved files
4. Complete merge/rebase

Docker Build Failures

# Check build logs
miyabi:docker_logs({
  container: "build-container",
  tail: 100
})

# Common fixes:
1. Clear Docker cache: docker system prune
2. Check Dockerfile syntax
3. Verify dependencies

Deployment Verification Failed

# Debug steps:
1. compose_logs โ†’ Check for errors
2. docker_inspect โ†’ Container config
3. network_connections โ†’ Network issues
4. resource_overview โ†’ Resource constraints

Integration with Context Optimizer

This skill uses mcp-context-optimizer principles:

## Progressive Tool Loading

Phase 1: Load git tools only
Phase 2: Load github tools only
Phase 3: Load docker tools only
Phase 4: Load network/health tools only

Never load all 172 tools at once!

Automation Hooks

Pre-Commit Hook

# Verify before commit
1. Run linter
2. Run tests
3. Check formatting

Post-Deploy Hook

# After deployment
1. health_check
2. network_port_check
3. Slack/Discord notification

Best Practices

DO:

  • โœ… Small, focused commits
  • โœ… Descriptive PR titles
  • โœ… Test before deploying
  • โœ… Monitor logs after deploy
  • โœ… Use semantic versioning

DON'T:

  • โŒ Force push to main
  • โŒ Skip pre-deploy checks
  • โŒ Deploy without testing
  • โŒ Ignore failing health checks
  • โŒ Commit sensitive data

Rollback Procedure

## If deployment fails:

1. compose_down โ†’ Stop broken deployment
2. git_log โ†’ Find last good commit
3. bash: git checkout <good-commit>
4. compose_up --build โ†’ Redeploy
5. github_create_issue โ†’ Document failure

Metrics and Monitoring

Deployment Success Criteria

  • All containers running
  • Health checks passing
  • No errors in logs (last 50 lines)
  • Expected ports accessible
  • Response time < threshold

Post-Deployment Monitoring

# Continuous monitoring
miyabi:docker_stats โ†’ Resource usage
miyabi:compose_logs โ†’ Error tracking
miyabi:network_bandwidth โ†’ Traffic monitoring

Score

Total Score

75/100

Based on repository quality metrics

โœ“SKILL.md

SKILL.mdใƒ•ใ‚กใ‚คใƒซใŒๅซใพใ‚Œใฆใ„ใ‚‹

+20
โœ“LICENSE

ใƒฉใ‚คใ‚ปใƒณใ‚นใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹

+10
โœ“่ชฌๆ˜Žๆ–‡

100ๆ–‡ๅญ—ไปฅไธŠใฎ่ชฌๆ˜ŽใŒใ‚ใ‚‹

+10
โ—‹ไบบๆฐ—

GitHub Stars 100ไปฅไธŠ

0/15
โœ“ๆœ€่ฟ‘ใฎๆดปๅ‹•

1ใƒถๆœˆไปฅๅ†…ใซๆ›ดๆ–ฐ

+10
โ—‹ใƒ•ใ‚ฉใƒผใ‚ฏ

10ๅ›žไปฅไธŠใƒ•ใ‚ฉใƒผใ‚ฏใ•ใ‚Œใฆใ„ใ‚‹

0/5
โœ“Issue็ฎก็†

ใ‚ชใƒผใƒ—ใƒณIssueใŒ50ๆœชๆบ€

+5
โœ“่จ€่ชž

ใƒ—ใƒญใ‚ฐใƒฉใƒŸใƒณใ‚ฐ่จ€่ชžใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹

+5
โœ“ใ‚ฟใ‚ฐ

1ใคไปฅไธŠใฎใ‚ฟใ‚ฐใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹

+5

Reviews

๐Ÿ’ฌ

Reviews coming soon