develop-cycle
Structured development workflow with analysis, implementation, validation, and mandatory checkpoint before commit/push. Use when starting a new feature, bug fix, or refactoring task.
What this skill does
# Development Cycle Workflow You are following a structured development workflow. Execute each phase in order. The user's task is: **$ARGUMENTS** ## Important - Commands for linting, pre-commit checks, and tests are defined in the project's CLAUDE.md. Read it before starting. - The main branch name is in CLAUDE.md (usually `main` or `develop`). If not specified, check with `git branch`. - **Never commit or push without explicit user approval.** There is a mandatory checkpoint at the end of Phase 4. --- ## Phase 1: Analysis and Planning **Step 1 — Understand the request** Examine the task critically. Identify explicit and implicit requirements, impacts, and dependencies. **Step 2 — Study the codebase** Read the relevant code. Understand the architecture, patterns, and conventions in use. Identify the files and modules to modify. **Step 3 — Clarify if needed** If the request is ambiguous or has edge cases that could go either way, ask specific questions. Skip this step if the task is clear. **Step 4 — Propose an approach** For non-trivial tasks with meaningful tradeoffs, present alternative approaches with pros, cons, and complexity. For straightforward tasks (obvious bug fix, simple feature), propose a single approach and move on. **Step 5 — Define the plan** List the concrete steps you will take, in order. Identify risks and dependencies. Wait for user approval before proceeding. --- ## Phase 2: Setup **Step 6 — Create a working branch** ```bash git checkout <main-branch> && git pull git checkout -b <branch-type>/<descriptive-name> ``` Use conventional branch prefixes: `feature/`, `fix/`, `refactor/`, `chore/`. --- ## Phase 3: Implementation **Step 7 — Implement the changes** Follow the approved plan. Stay consistent with existing patterns and conventions. Only comment code where the logic is non-obvious. **Step 8 — Handle tests** Write new tests for added functionality. Update existing tests if behavior changed. Do not skip tests. --- ## Phase 4: Validation **Step 9 — Run pre-commit / linting** Run the pre-commit or lint command defined in the project's CLAUDE.md. It must pass cleanly. Fix any issues and re-run. **Step 10 — Run the test suite** Run the test command defined in the project's CLAUDE.md. All tests must pass. Fix failures and re-run until green. ### MANDATORY CHECKPOINT After pre-commit and tests pass, **stop and report results to the user**: ``` Implementation complete. Validation results: - Pre-commit/lint: PASSED - Tests: PASSED (N tests) Waiting for your OK before I commit and push. ``` **Do not proceed until the user explicitly approves** (e.g., "OK", "go ahead", "proceed"). --- ## Phase 5: Iteration (if requested) **Step 11 — Handle feedback** If the user requests changes after the checkpoint: 1. Apply the requested modifications 2. Re-run validation (Steps 9-10) 3. Stop at the checkpoint again Repeat until the user approves. --- ## Phase 6: Finalization (only after explicit approval) **Step 12 — Update documentation** Update docs only if the changes require it (new API, changed behavior, configuration changes). Do not update docs for internal refactors or bug fixes that don't change the interface. **Step 13 — Final validation** Run pre-commit and tests one last time if you made changes during finalization. **Step 14 — Commit** Write a descriptive commit message following the project's conventions. Reference issues or tickets if mentioned in the task. **Step 15 — Push** ```bash git push -u origin <branch-name> ``` Confirm the push succeeded. Never merge into the main branch — the user handles pull requests. --- ## Error handling - **Pre-commit fails**: fix and re-run. - **Tests fail**: debug, fix, re-run the full validation cycle. - **Merge conflicts**: rebase onto the main branch, resolve conflicts, re-run validation. - **Uncertain about something**: ask the user before guessing.
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.