next-task
Skill50 starsChanged 16 days agoMITView on GitHub
Next task suggestion after completing implementation. Use when the developer finishes a task and wants a recommendation for the next one. Do not use during an ongoing implementation, for initial task selection (use work-item-workflow), or for sprint planning (use devsquad.sprint).
We split this skill into the rules it gives an agent
12 rules. 0 are common, 9 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
After completing implementation (PR created or push performed):
- Distinctive: line 36
Before presenting suggestions, check if there are open PRs in the repository that haven't been merged yet.
- Distinctive: line 44
If there are open PRs, check if the suggested tasks depend on the code in those PRs (same user story, later phase, or explicit dependency …
- Distinctive: line 68
If the selected task depends on code from an open PR (not merged), alert:
- Distinctive: line 84
If the user selects a task:
- Distinctive: line 93
If there are uncommitted changes:
- Distinctive: line 105
If there are unpushed commits:
- Very specific: line 118
If the current branch is not main/master/develop:
- Distinctive: line 131
After ensuring a clean branch:
- Very specific: line 133
Read branching strategy: cat .memory/git-config.md 2>/dev/null
- Very specific: line 134
If it doesn't exist, use fallback: git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@'
- Distinctive: line 137
Create new branch for the selected task
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Next Task — Next Task Suggestion
Offer Suggestion
After completing implementation (PR created or push performed):
Task completed! Would you like a suggestion for the next task?
[Y] Yes, suggest next task
[N] No, end sessionFind Available Tasks
- GitHub: Issues with label
type:task, no assignee, state open - Azure DevOps: Work items of type Task, no Assigned To, state New/To Do, in the current sprint
Sort by Criteria
| Criterion | Weight | Description |
| Priority | High | P1 > P2 > P3 |
| Dependencies satisfied | High | Tasks without blockers first |
| Same User Story | Medium | Context continuity |
| Same feature | Medium | Domain continuity |
| Sequential phase | Low | Setup → Foundation → Core → Integration |
Check Open PRs
Before presenting suggestions, check if there are open PRs in the repository that haven't been merged yet. The dependency is about code that is not in main, regardless of who opened the PR.
# List open PRs in the repository
# GitHub: github/list_pull_requests(owner, repo, state: "open")
# Azure DevOps: ado/repo_pull_request(action: "list", status: "active")If there are open PRs, check if the suggested tasks depend on the code in those PRs (same user story, later phase, or explicit dependency in tasks.md).
Present Suggestions (top 3)
Recommended next tasks:
1. #[number]: [title]
Priority: P1 | Feature: [name] | Phase: [phase]
Reason: Highest priority, same feature
2. #[number]: [title]
Priority: P1 | Feature: [name] | Phase: [phase]
Reason: Dependency from previous task satisfied
3. #[number]: [title]
Priority: P2 | Feature: [name] | Phase: [phase]
Reason: User Story continuity
[1/2/3] Select task
[O] See other options
[N] End sessionIf the selected task depends on code from an open PR (not merged), alert:
Warning: this task depends on code from PR #[number] ([title]), which has not been merged yet.
If you create the branch from the main branch, the code from the previous task will not be available.
[W] Wait for PR merge and continue later
[B] Create branch from the previous branch ([branch-name]) — stacked branch
[I] Ignore and create from the main branch anywayNote: Option [B] (stacked branch) works, but requires rebase after the previous PR is merged. Alert the dev about this implication.
Branch Transition
If the user selects a task:
Check pending changes
git status
git log origin/$(git branch --show-current)..HEAD --oneline 2>/dev/nullIf there are uncommitted changes:
You have uncommitted changes on the current branch:
[modified files]
[C] Commit changes and continue
[S] Stash and continue (not recommended)
[A] Abort and continue on the current taskIf there are unpushed commits:
You have local commits not pushed to remote:
[list of commits]
[P] Push and continue
[A] Abort and continue on the current taskReturn to main branch
If the current branch is not main/master/develop:
You are on branch: [branch-name]
To keep branches short-lived, I recommend:
[M] Return to main/develop and create a new branch
[C] Continue on the current branch (not recommended for different tasks)Start new task
After ensuring a clean branch:
- Read branching strategy:
cat .memory/git-config.md 2>/dev/null - If it doesn't exist, use fallback:
git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@' - Return to integration branch:
git checkout <integration-branch> - Update:
git pull origin <integration-branch> - Create new branch for the selected task
- Start implementation flow
- Apply all checks (assignee, dependencies, priority, capacity)
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- breaking-brake/cc-wf-studio★ 5.4ksame name
- enapt/SwarmLLM★ 69same name
- Destrayon/Connapse★ 21same name
- Integralist/agent-skills★ 20same name
- Nirusan/claude-config★ 7same name
- Vernum-Projecten/cc-shift★ 2same name
- Appuator/Skills★ 0same name
- Freakling/Director-Driven-Development★ 0same name
- rckycls/mvp-to-tasks★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- .github/plugins/devsquad/hooks/templates/.github/copilot-instructions.mdCopilot instructions
- adr-workflowSkill
- board-configSkill
- complexity-analysisSkill
- debugging-recoverySkill
- deep-clarificationSkill
- diagram-designSkill
- documentation-styleSkill
- domain-glossarySkill
- engineering-practicesSkill
- git-branchSkill
- git-commitSkill
- harness-learningsSkill
- init-configSkill
- init-docsSkill
- init-scaffoldSkill
- lsp-setupSkill
- pull-requestSkill
- quality-gateSkill
- reasoningSkill
- security-reviewSkill
- test-disciplineSkill
- triage-workflowSkill
- work-item-creationSkill
- work-item-workflowSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

