Skip to content

Commit bff74a8

Browse files
authored
docs: clarify task breakdown guidance in ticket extension prompts (#28)
* docs(ticket): clarify task breakdown guidance in extension prompts * docs: update changelog
1 parent 5515b43 commit bff74a8

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,18 @@ All notable changes to agent-stuff are documented here.
5151

5252

5353

54-
## fix/always-push-before-pr
54+
55+
56+
57+
## docs/improve-task-breakdown-guidance
58+
59+
Enhanced task breakdown guidance in the ticket extension to provide agents with clearer constraints on task granularity (#28). The updated prompts now explicitly define "atomic tasks" as single, narrowly-scoped changes affecting 2-3 files or ~50 lines of code maximum, with concrete examples like individual functions, endpoints, or test files. This change addresses context window limitations by encouraging developers and AI agents to split larger tasks into smaller units, improving task completion rates and reducing incomplete work.
60+
61+
## [1.0.16](https://github.com/kostyay/agent-stuff/pull/27) - 2026-03-06
5562

5663
This release fixes a critical issue where PR creation could fail when the remote branch doesn't exist, by ensuring all commits are pushed before attempting to create a pull request (#27). The push operation now always executes unconditionally before PR creation rather than checking for unpushed commits, making it idempotent and handling edge cases like stale upstream refs after previous PR merges. Additionally, the PR creation command now explicitly specifies the branch head to avoid ambiguity in multi-branch workflows. A minor documentation correction updates the stash extension keyboard shortcut from Ctrl+S to Ctrl+Shift+S to match the actual implementation.
5764

58-
## feat/configurable-simplify-threshold
65+
## [1.0.16](https://github.com/kostyay/agent-stuff/pull/26) - 2026-03-06
5966

6067
Introduces a configurable auto-simplify threshold and improved change detection for the `/simplify` command (#26). The `/simplify` command now uses per-file diff statistics to track added/removed lines and only triggers auto-proposal when total changes exceed a configurable `minChangedLines` threshold (default: 10), providing finer control over when simplification is suggested. Additionally, two new extensions were added: `/stash` command (Ctrl+S) for temporarily saving editor drafts during quick questions, and `/whoami` command for managing git user identity within sessions—improving workflow ergonomics for context-switching scenarios.
6168

pi-extensions/ticket/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,10 @@ export default function ticketExtension(pi: ExtensionAPI) {
11661166
"Do not proceed until I confirm you understand correctly.\n\n" +
11671167
"**Step 2: Plan** — Present a proposed breakdown:\n" +
11681168
"- One epic with a clear description\n" +
1169-
"- Atomic tasks (each completable in one session)\n" +
1169+
"- Tasks broken down as small as possible — each task should be a single, " +
1170+
"narrowly-scoped change (e.g. one function, one endpoint, one test file, one config change). " +
1171+
"If a task touches more than 2-3 files or takes more than ~50 lines of code, split it further. " +
1172+
"Prefer many tiny tasks over fewer large ones — agents run out of context on big tasks.\n" +
11701173
"- Dependencies between tasks\n" +
11711174
"- Priority for each task (0=critical, 1=high, 2=normal, 3=low)\n" +
11721175
"- For each task, draft: description, acceptance criteria, and test criteria\n\n" +

0 commit comments

Comments
 (0)