agentleFS
strands-agentsstrands-agents/box/.agents/skills/decision/SKILL.md

decision

Skill650 starsChanged 12 days agoApache-2.0View on GitHub

Record, re-answer, or weigh one box design decision as an entry in docs/design/cli/decisions.md. Use when the user settles a choice ("we decided ...", "record that", "why did we ..."), when a change reverses an earlier decision, or when the user asks to evaluate a hard choice ("should we do A or B", "weigh the options for ...", "make the call on ...").

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use brief, plan and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    brief

    Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 4 projects that use this

  • OpenAISkill

    audit

    Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 4 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 6 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Test: "Which change to another part of box does this entry refuse or redirect?"

    line 39
  2. Very specific:

    Review the draft: Run the decision-critic agent on it in a fresh context.

    line 80
  3. Distinctive:

    The title is the decision, stated as a claim: Never a question. Use the operator's or the product's words.

    line 102
  4. Distinctive:

    Leave it out only when there is none.

    line 110
  5. Distinctive:

    Rewrite the entry so it states what is true now: Do not add a second entry beside it, and do not add a note.

    line 116
  6. Very specific:

    Keep the <a id> anchor.

    line 119
  7. Distinctive:

    If the old answer is now the rejected one, say it was tried and why it failed.

    line 122
  8. Distinctive:

    Start a new entry only for a new question.

    line 126
  9. Very specific:

    No number, date, status, "Updated" line, test name, pull request number, or file.rs:LINE.

    line 131
  10. Distinctive:

    Never link a draft, a plan, or a research note.

    line 133
  11. Very specific:

    Write in the precise voice of writing.md, and make the first sentence carry the point.

    line 134

“Common” is measured: kept by at least 6 in 10 of the 21 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Decision

docs/design/cli/decisions.md records why box is the way it is. A reader can scan its headings and learn the design. Each entry states one decision as it stands today. Git history holds how it got there.

Modes

ModeWhenOutput
RecordThe user decided a choice that passes What earns an entry.One new or rewritten entry.
WeighThe user asks for help with an open, hard choice.A local draft and a recommendation. The entry follows only after the user decides.

Who decides

  • Record an entry only when the choice passes the test in What earns an entry, and only after the user decides it. A choice that an operator would notice goes to the user before code. Every other choice is a sentence in the pull request. An agent never records its own choice for review.
  • A recommendation is not a decision, and silence is not approval.
  • A missing entry is never a review finding.
  • The log can lag the code, and the code owns current behavior. A change that goes against an entry either fits the code to the entry or rewrites the entry, and a human approves the rewrite. A pull request that changes what an entry says fixes that entry. Nobody sweeps the log for stale entries.

What earns an entry

An entry records a constraint that future work must respect: a "never", an "only", or a trade-off between two goals (safety, operator effort, the Box Core contract) that a later change could pick differently by accident. Write one only when it decides a change to a different feature, command, or key than the one it came from. Judge it by its title and first sentence.

Test: "Which change to another part of box does this entry refuse or redirect?"

These are not entries:

  • How a feature is shaped: what kind of thing it is, a key's name, a header, a syntax, how two sources combine. The design page holds that.
  • How to add another thing of the same kind, such as another provider or input source.
  • A limit that a dependency forces, such as Box Core or the OS. State it where it applies.
  • What one feature does today, such as its checks or its flags.
  • A constraint that another entry already decides.
  • A reason that only one shipped pack or plugin has, such as why it sets a variable or where a grant stops. It is a comment beside the line in that pack.toml or plugin.toml (Pack comments).

A choice that fails the test is one to three sentences in the pull request body: the choice and why, and, where it helps, what was tried first or what it costs.

Process: Record

  1. Search decisions.md by topic, not by wording. If an entry already answers the question, rewrite that entry. See Re-answering.
  2. Read the entries next to it and match their shape.
  3. Write the entry in the section for its area, in the shape below. Add its title to the list at the top of the page, or change the title there.
  4. Check each name in the entry: git grep each symbol, flag, path, and variable. A name that does not exist is worse than no name. Name only what the decision is about. An entry does not copy the current list of keys, tables, or flags, or a default value: link the owner (Where each fact lives), so a new key or a renamed flag does not change the entry.
  5. Run just prose.
  6. Report the anchor.

Process: Weigh

  1. Frame the question. Say what must be decided and why it is hard. If the answer is obvious, say so and stop.
  2. Find the real options, three to five, including the current behavior. Leave out straw men.
  3. Weigh them against the criteria that decide it. Read the source or measure where a claim needs evidence.
  4. Write the draft to .agents/drafts/decisions/<YYYY-MM-DD>-<slug>.md. It is git-ignored, so the argument can be as long as it needs.
  5. Review the draft. Run the decision-critic agent on it in a fresh context. Fix each blocker, or say in the report why you left it.
  6. Report the recommendation, its cost, the draft path, and the critic's verdict. Then stop and wait.
  7. When the user decides, follow Record.

The entry

<a id="each-run-gets-its-own-box"></a>
### Each run gets its own box, and only the operator removes an old one

Each `box run` creates a new instance with its own run directory and an empty `box_dir`. Two
runs of one profile can then run at the same time, and a `when temporal` rule sees only its own
run.

**Rejected.** One `box_dir` for each profile: Box Core locks `box_dir`, so a second run fails.

**Cost.** Run directories stay after a run stops, about 2 MB each, until the operator runs
`box profile clean`.
  • The title is the decision, stated as a claim. Never a question. Use the operator's or the product's words. A reader who reads only the titles must learn the design.
  • The anchor is a short kebab-case form of the claim, and it is permanent. Code and other pages cite docs/design/cli/decisions.md#<anchor>. When the title changes, keep the anchor.
  • The paragraph is two to four sentences: what is true now, and why.
  • Rejected. is the alternative that lost and why, in one sentence. Add a second only when a reader would really propose it. If it was tried and reverted, say so.
  • Cost. is what the decision costs: a limit, a risk, or a thing a contributor must not do. Leave it out only when there is none.
  • Keep it under about 150 words. A longer entry holds mechanism. Move the mechanism to the design page for the area and link it.

Re-answering

Rewrite the entry so it states what is true now. Do not add a second entry beside it, and do not add a note. A reader who must combine an old entry and its correction reads the design wrong.

  • Keep the <a id> anchor.
  • Rewrite the title (in the list at the top too), the paragraph, Rejected., and Cost. where the change makes them false. If the old answer is now the rejected one, say it was tried and why it failed.
  • Fix each page that cites the entry and repeats the old answer. On a design page, replace a repeated reason with a link to the entry. On the page that owns the present behavior (Where each fact lives), update the behavior there.
  • Start a new entry only for a new question.

Rules

  • One entry, one decision.
  • No number, date, status, "Updated" line, test name, pull request number, or file.rs:LINE. Git holds the history, and the code and its tests hold the behavior.
  • Never link a draft, a plan, or a research note. They are not committed.
  • Write in the precise voice of writing.md, and make the first sentence carry the point.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.