You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(skills): add task preview, verification comment, checks template, and local test step
- ak-task/ak-plan: require task preview with user confirmation before creation
- ak-task/ak-plan: replace Patterns section with Checks (verifiable acceptance criteria)
- ak-task/ak-plan: post verification comment on PR before merging
- ak-task/ak-plan: add cleanup step for local review artifacts
- ak-task/ak-plan: re-read CONTRIBUTING.md at Gate 2, fail-first ordering
- agent-kanban: add local test step before pushing, replace ak wait pr with gh pr checks
- **If claim fails, stop immediately** — do not write any code or make any changes. Report the error and wait.
101
102
- **Never call `task complete`** — only humans complete tasks.
103
+
- **Test before pushing** — run the project's test suite and type check locally. All tests must pass before `git push`. Skip only if tests cannot run locally. Do not rely on CI to catch failures you could have caught locally.
102
104
- Always create a PR and submit via `task review --pr-url` when your work produces code changes.
103
105
- Log progress frequently — humans monitor the board.
104
106
- **Every commit MUST include an `Agent-Profile` trailer** linking to this agent's profile page.
Copy file name to clipboardExpand all lines: skills/ak-task/SKILL.md
+81-21Lines changed: 81 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,15 +57,49 @@ Use `AskUserQuestion` to interactively resolve any uncertainties before creating
57
57
58
58
Keep iterating — each answer may reveal new questions. Only proceed to create when all points are resolved and the user has confirmed the final task spec.
59
59
60
-
If nothing is ambiguous (simple, clear-cut request), skip straight to presenting a summary and asking for a single confirmation.
60
+
If nothing is ambiguous (simple, clear-cut request), skip straight to the task preview below.
61
61
62
-
### Step 4: Create Task
62
+
### Step 4: Preview & Create Task
63
63
64
-
Write a detailed description with:
65
-
- Goal (one sentence)
66
-
- Files to modify
67
-
- Specific behavior/spec
68
-
- Patterns to follow
64
+
Before creating, show the user the **exact task that will be created** using `AskUserQuestion`. Format the preview as:
- CLI: "ak get task --board xxx prints task table with status column"
95
+
96
+
---
97
+
Create this task? (y/n)
98
+
```
99
+
100
+
Everything from `## Goal` through `## Checks` is the exact text that will be passed to `--description`. The header fields above it (Title, Board, Agent, etc.) are metadata for display only — do not include them in `--description`. The user must see the full description before it's sent to the agent.
0 commit comments