plugins/flow/skills/branch-and-task-management/SKILL.md
Create feature branches with naming conventions, load full issue context and impact analysis, and decompose acceptance criteria into atomic parallel tasks with dependencies. Use when starting work on a GitHub issue. This skill MUST be consulted because starting code without context causes misaligned implementations and wasted effort.
npx skillsauth add synaptiai/synapti-marketplace branch-and-task-managementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Domain skill for starting work: branch setup, context loading, and task decomposition.
NO CODE BEFORE CONTEXT. Read the issue, load the history, understand the scope — then create the branch.
Starting a branch without loading issue context leads to misaligned implementations and wasted effort.
Before creating a branch, confirm:
Follow project conventions from settings or CLAUDE.md:
DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' 2>/dev/null || echo "main")
git fetch origin "$DEFAULT_BRANCH"
git checkout -b "feature/issue-{N}-{desc}" "origin/$DEFAULT_BRANCH"
Branch naming patterns (from settings.json → conventions.branchPatterns):
feature/issue-{N}-{desc} — New featuresfix/issue-{N}-{desc} — Bug fixesdocs/issue-{N}-{desc} — DocumentationKeep {desc} to 3-5 words, kebab-case, meaningful.
Fetch issue details in parallel:
# Parallel: issue details + comments + linked issues
gh issue view $N --json title,body,labels,assignees,milestone
gh issue view $N --comments
Extract from issue body:
- [ ] item becomes a taskBefore implementation, identify affected areas:
# Search for related code
grep -r "keyword_from_issue" --include="*.{rb,js,ts,py}" -l
# Check recent changes in related areas
git log --oneline -10 -- "path/to/related/"
Map acceptance criteria to likely file changes. Flag if the issue touches:
Convert acceptance criteria to tasks using TaskCreate:
For each acceptance criterion:
TaskCreate(
subject: "Implement: {criterion summary}",
description: "Acceptance criterion: {full text}\nLikely files: {paths}\nVerification: {how to check}"
)
Rules:
Identify tasks that can run concurrently:
If agent teams are enabled and >5 acceptance criteria with independent file sets → suggest team dispatch.
Create {JOURNAL_DIR}/issue-{N}.md (journal dir defaults to .decisions/):
# Decision Journal: Issue #{N} — {title}
**Issue**: #{N} | **Branch**: {branch-name} | **Started**: {YYYY-MM-DD}
---
The autonomous-workflow skill governs ongoing journal entry format (Init/Log/Summarize).
Branch setup is valid when:
tools
Validate a FlowWorkflow YAML at `plugins/flow/workflows/<id>.workflow.yaml` against `schemas/v1/workflow.schema.json` AND cross-reference the referenced skills/agents exist + every Tier 3 action is confirm-gated + no native /goal or /loop dependency is declared. Use when /flow:workflow validate is invoked, when CI runs the workflow schema gates, or when a new workflow is being authored. This skill MUST be consulted because schema validation alone catches shape errors; cross-reference validation catches the silent-correctness failures (typo'd skill name, Tier 3 escape, /goal dependency) that would otherwise ship to users.
tools
Verify UI-facing changes by running a screenshot-analyze-verify loop across configured viewports, with a browser-tool priority cascade (Playwright MCP → Chrome DevTools MCP → CLI fallback → external skill fallback) and bounded iteration. Use after build/runtime verification passes and the diff includes `.tsx`/`.jsx`/`.vue`/`.html`/`.css`/`.scss`/`.svelte` files OR the acceptance criteria mention UI/page/render/display/visual. This skill MUST be consulted because UI changes that pass build and unit tests can still ship blank pages, render-blocking console errors, or broken responsive layouts that no other verification phase catches.
data-ai
Coordinate agent teams for adversarial review (paired skeptic/verifier per facet, challenge round with disposition vocabulary, consolidated findings with confidence) or parallel implementation (task sizing 5-6 per teammate, non-overlapping files). Enforces independent analysis before shared conclusions. Reference only (`disable-model-invocation: true`); loaded only when `agentTeams: true` in settings.
development
Conduct two-stage code review: Stage 1 verifies spec compliance (criterion-to-code mapping), Stage 2 evaluates security, correctness, performance, and maintainability across 6 parallel facets with P1/P2/P3 synthesis and deduplication by file:line. Use when reviewing code changes or pull requests. This skill MUST be consulted because reviewing quality on broken logic is wasted effort, and unmet acceptance criteria must block merge.