plan-work
Load first when asked to build or automate an app for people. Sets the checks and build order.
- License 许可
- Apache-2.0
- 所属仓库
- gents-ai/gents
- 最近更新
- 2026-11-15
- Stars
- ★ 24
- Forks
- 4
01 前言 Front Matter
- name
- plan-work
- description
- Load first when asked to build or automate an app for people. Sets the checks and build order.
03 SKILL.md 正文
Plan the work
App: what the person asked for, by their name. Page: a screen in the desktop app. Plugin: compiled code for logic that must be exact. Pack: how a finished app is carried to another node.
Before any build call, write ACCEPTANCE.md in your workspace.
1. Understand the job
Restate it in the person's words. Ask only what you can't discover, in one message: who uses it, where the data comes from and how often it changes, how fresh it must be, who must not see it.
2. Write ACCEPTANCE.md
One true-or-false line each, including at least one "must not happen":
- The urgent count on the page matches the file.
- Importing the same file twice changes nothing.
- A malformed file leaves yesterday's numbers in place and tells someone.
If a requirement can't be met on this node, say so now and offer the closest option.
3. Pick the smallest design
| Need | Design |
|---|---|
| An answer, once | Reply in chat |
| People look at data | Documents and a page |
| Data must stay current | A schedule or event with one small task |
| Each item needs judgment | An agent on a trigger |
Rules, calculations and validation go in the database or a plugin. Agents are for judgment. A dashboard usually needs one scheduled task and no agent.
4. Build in this order
Build live on this node. Every piece is a document you create through your tools, so it works the moment it exists and you can test it before adding the next. Nothing needs a file or a pack yet.
- Data:
use-database, andconnect-dataif it comes from outside this node. - Exact logic:
write-plugin. - Page:
design-page. - Running on its own:
automate. - Who can see it:
control-access. - Clean up what you tried and dropped, then
package-packexports the working app as a pack.
Load a step's skill when you reach it. On a long build, hand independent steps to a helper (delegate-work), and have one that did not build it check ACCEPTANCE.md.
For syntax, use config help <resource> or --help. Don't read the gents binary (no strings) or look for Gents source anywhere. Use tool help.
If you have the script tool, use one script instead of repeating single calls: to wait for a condition (loop a query with await sleep), to try exact logic before building a plugin, and to apply one change across many documents or files.
Don't wait by sleeping or polling for a person. If you need someone, file one mailbox item, end your turn and say what you're waiting for.
5. Prove it
Check each ACCEPTANCE line by running the thing the way it will really run. Config read-backs show setup; only a run shows it works. Never drive it with a script, manual call or helper agent and report that as the automation working. If the same step fails twice, stop changing things and load diagnose-node.
6. Hand over
Say what you built and how to open it. List each ACCEPTANCE line as passed, failed or not checked, and what the person still has to do.
04 同仓库更多 Skills
write_plugin
暂无简介
use-database
Load before designing an app's data. What DefraDB does for you, and how to shape collections.
package-pack
Load when a working app should become a pack, or when installing or changing a pack. Export, check, install, versions.
diagnose-node
Load when a trigger, tool, request or session didn't work as expected. Gives the order of checks.
design_page
暂无简介
delegate-work
Load before a long build, or when parts of a job can run on their own. When and how to use helpers.