feat(skills): reworked skills and rules
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
This commit is contained in:
1 parent
29632ff0ce
commit
f5d8f6f11b
124 files changed
+1250
-8138
No files matched your search
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: work-item-definition
|
||||
description: Use when a request is too vague to scope, estimate, or verify. Define the objective, scope, acceptance criteria, assumptions, dependencies, and only material open questions; do not implement it.
|
||||
---
|
||||
|
||||
# Work Item Definition
|
||||
|
||||
Use when a request lacks enough detail to estimate or verify the intended technical outcome. When the work item lives in Azure DevOps or another tracker, read it first through the connected tools: description, acceptance criteria, comments, and linked items. Writing back, such as comments, fields, or state, follows the remote-system rules (`rules-microsoft`).
|
||||
|
||||
## Workflow
|
||||
|
||||
1. State the user or system outcome in concrete terms.
|
||||
2. Inspect the current behavior the request touches through `research` before scoping. Cite what exists; mark what you could not inspect.
|
||||
3. Define what is in scope and what is explicitly out of scope based on the request and current behavior.
|
||||
4. Write observable acceptance criteria, including relevant failure or edge cases.
|
||||
5. Record constraints, dependencies, compatibility requirements, and assumptions separately. Before accepting external technology constraints as established, MUST apply the planning checkpoint in `technical-research`; carry its evidence or unresolved gaps into the work item.
|
||||
6. Ask only questions whose answers would materially change behavior, contracts, permissions, or acceptance. Choose safe reversible defaults for minor implementation details.
|
||||
7. Identify unresolved risks and a proportionate verification approach.
|
||||
8. Give a rough size (small, medium, or large, with the main driver). Split a large item into independently deliverable parts, each with its own acceptance criteria.
|
||||
|
||||
Return a bounded work item with objective, scope, criteria, assumptions, dependencies, and open questions. If the request is already well defined, keep its scope and only fill real gaps. Do not invent business rules or start implementation unless asked.
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"skill_name": "work-item-definition",
|
||||
"evals": [
|
||||
{
|
||||
"id": 1,
|
||||
"prompt": "Ticket from product: \"Users should be able to export their data.\" That's all it says. Our app is a B2B time-tracking SaaS with workspaces, projects, and time entries. Turn this into something the team can estimate.",
|
||||
"expected_output": "Should state the outcome in concrete terms. Should define in-scope and explicitly out-of-scope items. Should write observable acceptance criteria including failure or edge cases (e.g. empty data, large exports, permission denied). Should record constraints, dependencies, compatibility requirements, and assumptions separately. Should ask only material open questions (e.g. who may export: individual user vs workspace admin; which data; which format; GDPR-style full export vs report export). Should identify risks and a verification approach. Should not invent business rules as facts and should not implement.",
|
||||
"assertions": [
|
||||
"Contains an objective stated as a concrete user or system outcome",
|
||||
"Contains separate in-scope and out-of-scope sections",
|
||||
"Contains observable acceptance criteria",
|
||||
"Includes at least one failure or edge case criterion such as unauthorized access or an empty or very large export",
|
||||
"Lists assumptions separately from constraints and dependencies",
|
||||
"Open questions are limited to material ones such as who may export, which data, or format",
|
||||
"Does not present invented business rules as established requirements",
|
||||
"Does not include implementation code"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"prompt": "Define a work item: \"Add SSO login using Azure AD B2C's new native passkey support, it works with our current MSAL.js 2.x setup.\"",
|
||||
"expected_output": "Should produce a bounded work item. The request contains external technology claims (Azure AD B2C passkey support, MSAL.js 2.x compatibility); before accepting them as established constraints the agent must apply the technical-research planning checkpoint and carry the evidence or unresolved gaps into the work item. Should not simply restate the claim as fact. Should include objective, scope, acceptance criteria, assumptions, dependencies, open questions, and risks with a verification approach.",
|
||||
"assertions": [
|
||||
"Applies or references the technical-research planning checkpoint for the Azure AD B2C and MSAL.js claims",
|
||||
"Marks the passkey support and MSAL.js 2.x compatibility as evidenced or explicitly unresolved rather than assumed",
|
||||
"Contains objective, scope, acceptance criteria, assumptions, dependencies, and open questions",
|
||||
"Lists MSAL.js and Azure AD B2C as dependencies",
|
||||
"Identifies unresolved risks and a verification approach",
|
||||
"Does not start implementing the login flow"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"prompt": "Make a work item for: \"The settings page Save button should show a spinner while saving.\" Ask me anything you need first.",
|
||||
"expected_output": "This request is already fairly concrete. Despite the invitation to ask anything, the agent should ask only questions that materially change behavior, contracts, permissions, or acceptance, and choose safe reversible defaults for minor details (spinner style, exact placement). Should produce a compact work item with objective, scope, acceptance criteria (including save failure and double-click behavior), assumptions, and few or no open questions.",
|
||||
"assertions": [
|
||||
"Produces the work item rather than only a list of questions",
|
||||
"Asks no questions about minor implementation details such as spinner style or color",
|
||||
"States safe defaults as assumptions for minor details",
|
||||
"Includes an acceptance criterion for the save failure state",
|
||||
"Includes an acceptance criterion about preventing duplicate submissions while saving, or lists it as an open question",
|
||||
"Keeps scope bounded to the Save button behavior"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"prompt": "Turn this into a work item: \"Add a `--since <ISO date>` option to the `audit list` CLI command that filters entries with timestamp >= the date. Invalid dates exit with code 2 and the message 'invalid --since date'. Other commands are unchanged. Done when unit tests cover valid, boundary, and invalid input.\"",
|
||||
"expected_output": "The ticket is already well defined. Should inspect the current audit list command, then return a compact work item that keeps the stated scope and criteria. Should not add new features, extra options, or other commands, and should ask few or no questions.",
|
||||
"assertions": [
|
||||
"Inspects the current audit list command or states it could not",
|
||||
"Keeps the criteria stated in the ticket, including exit code 2 and the error message",
|
||||
"Does not add scope such as --until, time zones, or changes to other commands",
|
||||
"Asks no questions, or only questions that would materially change behavior",
|
||||
"Does not include implementation code"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"prompt": "Define Azure DevOps work item 812 so the team can estimate it: 'Customer portal: allow invoice download, payment history, and address changes.'",
|
||||
"expected_output": "Reads work item 812 from Azure DevOps first, then defines the outcome, scope, and criteria. Recognizes three independently deliverable parts and splits them, each with its own acceptance criteria, and gives a rough size per part. Does not write back to Azure DevOps unless the user asks.",
|
||||
"assertions": [
|
||||
"Reads the work item from Azure DevOps before defining it",
|
||||
"Splits the item into independently deliverable parts with their own criteria",
|
||||
"Gives a rough size for each part",
|
||||
"Does not write to Azure DevOps without a request"
|
||||
],
|
||||
"files": [],
|
||||
"id": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user