define-task
Skill41 starsChanged 2 months agoMITView on GitHub
Define, create, or refine an explicitly requested persistent xopc Task with a verifiable Task Contract; do not use for ordinary one-off work.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .cursor/rules/deveco-flow.mdcCursor rule
- chat-chartsSkill
- hatch-petSkill
- doc-coauthoringSkill
- docxSkill
- pdfSkill
- pptxSkill
- xlsxSkill
- build-xopc-local-appSkill
- configure-xopcSkill
- find-skillsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
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
- Very specific: line 21
Use this skill only when the user explicitly asks to define, capture, create, or refine a persistent xopc Task.
- Distinctive: line 39
Use repository and conversation context to make the contract concrete.
- Distinctive: line 40
Ask one concise question only when a missing result, acceptance criterion, or boundary would materially change the Task.
- Very specific: line 45
Use createMode: "capture" unless the user explicitly wants execution to start now.
- Distinctive: line 47
Read the current Task version before revising an existing contract, and preserve fields the user did not ask to change because contract …
- Distinctive: line 49
Verify the returned Task and report its delivery link when one is provided.
- Very specific: line 55
Read references/task-contract-rubric.md when the Task needs a more careful contract review.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Task definition
Use this skill only when the user explicitly asks to define, capture, create, or refine a persistent xopc Task. Complete ordinary implementation and one-off requests directly without creating a Task.
Build the Task Contract
Express the requested result through the current Task Contract fields:
objective: the observable result;expectedOutputs: concrete deliverables;acceptanceCriteria: checks that prove completion;constraints: material boundaries, prohibitions, or required conditions.
Preserve user-stated assumptions, risks, approval requirements, priority, Project association, and dependencies when they are available. Do not invent authority or success criteria that materially change the request.
Persist safely
- Use repository and conversation context to make the contract concrete.
- Ask one concise question only when a missing result, acceptance criterion, or boundary would materially change the Task.
- Load the
xopc_usemanual before a non-trivial Task mutation. - List and inspect current Tasks before creating one when duplication is plausible. Refine a matching Task through its typed lifecycle instead of creating a competing Task.
- Use
createMode: "capture"unless the user explicitly wants execution to start now. UsecreateMode: "start"only for authorized immediate execution. - Read the current Task version before revising an existing contract, and preserve fields the user did not ask to change because contract revision replaces the complete contract.
- Verify the returned Task and report its delivery link when one is provided.
For bugs, include a reproducer and regression check. For performance work, name the metric, threshold, method, and run count. For research, name the decision the research must enable and the evidence standard.
Read references/task-contract-rubric.md when the Task needs a more careful contract review.
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.

