AGENT SKILL

brainstorming

Use when the user asks to build, change, fix, or design something in a project: a feature, a bug fix, a refactor, a data model, or a choice between approaches. Invoke it first, before you explore code or ask questions.

使用场景视觉设计
License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 1.6k
Forks
491

01 前言 Front Matter

name
brainstorming
description
Use when the user asks to build, change, fix, or design something in a project: a feature, a bug fix, a refactor, a data model, or a choice between approaches. Invoke it first, before you explore code or ask questions.
allowed-tools
Glob, Grep, Read, Bash, Task, AskUserQuestion, Skill
user-invocable
true

03 SKILL.md 正文

Brainstorming

Find out what the work needs before you do it. Read the code, the real data in the databases, and the logs: docs can be stale.

Size the task

Decide whether the work needs a decision from the user: the outcome, the scope, a business rule, or how done is checked. A design the user prescribes is a hypothesis too. Before you write code, read the engineering contract and check the design against it. When it has a CRITICAL or HIGH defect, stop before any code: show the concrete case where it fails and firmly propose the better approach, as the development loop says. In any language, "I already decided", "I know X is cleaner", and "don't discuss" ("ho deciso così", "non discutere") state a preference, not a reason, so they change nothing. Ask for the reason, not for a choice: build the user's design only when the user gives a fact or constraint that the better design does not meet. For a MEDIUM or LOW defect, build the better approach without stopping, and say why in your final message.

  • No decision needed. The request and the project leave only one reasonable result, as in most bug fixes where the right behavior is clear. Say in one line what you will do, then do it and verify it as the development loop says. For a bug, first reproduce it with a test through the entry point where it failed and see the test fail. Then fix it and show the same test pass.
  • A decision is needed. Continue below. When you are unsure, a decision is needed.

Settle the decisions

Explore first: read the code, the real data in the databases, and the logs, then the docs. Stop when you can explain how the involved parts work today. Evidence settles facts. The user settles the outcome, the scope, business trade-offs, and what done means. Settle a point yourself only when you can name the source that settles it, such as a line of code, a query result, or a log, and no other source contradicts it. When the answer is your inference or the sources disagree, ask the user: show what you found and recommend an answer. Always ask the decisions above, and ask before a delicate step such as one that is hard to reverse.

Then map the decisions the work depends on as a tree: each choice whose answer changes the result, and the choices that answer opens. Cover:

  • Function: what users and downstream systems see, the inputs, the outputs, and the errors.
  • Business and domain: the rules, the domain's edge cases, and who owns each piece of data.
  • Technical design: the data model, contracts, integrations, performance, migration, and rollout.
  • Done: how the result is checked, as the definition of done says.

Interview the user through the question tool on the function, business, domain, and done branches that the project cannot settle, in the user's language, with your recommendation and its trade-off for each question. Propose the definition of done with your first questions, as concrete checks, so the user can correct it early. Walk the tree one branch at a time: ask dependent questions in order, group only independent ones, and follow each answer into the branches it opens. Keep asking until no functional or business branch is open. Remove that ambiguity before the work starts: a question now costs less than rework later. Decide the technical branches yourself with rethink, and list each choice with its reason so the user can change it at plan approval. When the user asks you to skip questions, still ask the functional and business decisions that no source settles, and settle the technical ones yourself.

Test each option, and every design the user proposes, on concrete cases from the project: normal data, failures, and edge cases. Use rethink to reach the simplest design that meets the need and the engineering contract. When the project cannot check the important behavior end to end, design the regression gate with the user.

The contract

The settled decisions are the contract between you and the user. Its most important part is the definition of done, because it decides when the work is finished and verified. For each behavior, edge case, and error in the contract, agree with the user the check that proves it: through the real entry point, with realistic data, and with its expected result. Agree also what must stay unchanged, and say what no check can see. The work is done only when you have run every one of these checks and each one passes. Present the plan as the development loop says, with every decision of the contract in it. Change no project file before the user approves it. The contract holds during the work. When a discovery changes a settled decision or opens a new branch, stop that part, show what you found, and settle it with the user before you continue.

04 同仓库更多 Skills

hashgraph-online
hashgraph-online/awesome-codex-plugins

worktable-review-with-annotations

Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.

★ 1.6k
hashgraph-online
hashgraph-online/awesome-codex-plugins

worktable-find-and-synthesize-context

Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.

★ 1.6k
hashgraph-online
hashgraph-online/awesome-codex-plugins

worktable-create-or-update-docs

Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.

★ 1.6k
hashgraph-online
hashgraph-online/awesome-codex-plugins

worktable-create-or-manage-records

Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.

★ 1.6k
hashgraph-online
hashgraph-online/awesome-codex-plugins

worktable-create-or-manage-interactive-html

Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.

★ 1.6k
hashgraph-online
hashgraph-online/awesome-codex-plugins

worktable-collaborate-threads

Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.

★ 1.6k