teamcraft:merge-issue
Finalize and merge an approved (or solo-flow) PR. Verifies approval and CI status, marks the work item as done on the branch, commits, then merges. This is the skill that actually completes the work. Use when the user says "merge this issue", "ship this", "PR is approved, merge it", "finalize this issue", or "the review is done, let's merge".
What this skill does
## Why This Skill Exists The work item's `status: done` must be written on the branch before merge, not on main after merge. Once a PR merges, the branch is dead — nothing else can be committed to it. So the final commit on the branch updates the work item to `done`, and then we merge. Main inherits the correct state via the merge itself. This is why `merge-issue` is the one skill that actually completes the work. `validate-issue` submits. `address-review-issue` iterates. `merge-issue` ships. No other skill marks a work item `done`. ## Verify the PR Is Ready to Merge Identify the work item (from `$ARGUMENTS`, or from `.teamcraft/work/INDEX.md` looking for an `in-review` item on the current branch) and the PR associated with the branch. **Check all of these before proceeding:** 1. **The PR exists and is ready for review** — not a Draft. 2. **CI has passed.** Use whatever tools are available to check CI status. If CI has not completed or has failed, stop. Do not merge on failing CI under any circumstances. 3. **Approval status:** - If this is a team-review flow, verify the PR has the required approvals per the team's process. - If this is a solo flow (the developer chose "going solo" during `validate-issue`, or confirms it now), approval is not required. 4. **The branch is up to date** — if the target branch (e.g., `main`) has moved since this branch last updated, flag this so the developer can decide whether to rebase/merge before proceeding. Some teams require branches to be current; others don't. If any check fails, stop. Tell the developer exactly what's blocking the merge and why. ## Confirm with the Developer Before taking destructive action, confirm: **"All checks pass. Ready to merge this to main? This will: update the work item to done, commit that change on the branch, and merge the PR."** Wait for explicit confirmation. If the developer isn't sure (e.g., wants to check one more thing), stop and let them run the skill again when ready. ## Finalize the Work Item on the Branch On the current branch (NOT on main): 1. Update the work item frontmatter: - `status: done` - `completed: YYYY-MM-DD` (today's date) 2. Update `.teamcraft/work/INDEX.md`: - Change the item's status column to `done` 3. Commit both files with the work item ID in the commit message. Example: `chore(feat-notification-prefs): mark work item as done` 4. Push the commit to the remote branch. This is the final commit on the branch before the merge. Main will inherit this state when the merge completes. ## Merge the PR **Before merging**, consult the team's captured operating conventions for the prescribed merge strategy — squash, merge commit, or rebase. Locate the conventions via the repo's README or the standard documentation locations; don't assume a specific path. If no strategy is documented anywhere, ask the developer. If the conventions doc is found but lacks a Teamcraft certification stamp (see `../references/doc-provenance.md`), treat the merge strategy it states as UNVERIFIED — confirm it with the developer before merging rather than silently following a possibly-inherited rule. Execute the merge using the prescribed strategy. Confirm the merge succeeded by checking the PR status after the operation. ## Cleanup After the merge succeeds: 1. Check out the default branch (typically `main`) locally. 2. Pull to get the merged state. 3. Optionally delete the local work branch — ask the developer first. Some teams keep branches briefly for reference. ## When the Skill Is Complete The skill is complete when ALL of the following are true: 1. The PR was verified as approved (or solo-flow confirmed) with CI passing before merging 2. The work item was updated to `status: done` and `completed: YYYY-MM-DD` on the branch 3. `.teamcraft/work/INDEX.md` was updated to reflect the new status 4. The final commit was pushed to the branch 5. The PR was merged successfully 6. The developer has confirmed the merge completed as expected Main now reflects the correct final state: the work item is `done`, the `completed` date is accurate, and the INDEX.md is current. No post-merge operations needed. Report the outcome: - Work item ID and title - Completed date - Merged PR number and URL - Any follow-up items the developer might want (e.g., deferred work items from earlier reviews) Do NOT start another work item here. The developer decides what's next — `/pick-next-issue` is their natural next move if they want to keep going.
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.