Skip to content
Agentmart
Submit a tool

agent-brief

Template and rules for an agent brief: the spec an unattended agent implements an issue or PR from.

Skill by adib-11

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/adib-11-agent-brief

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Template and rules for an agent brief: the spec an unattended agent implements an issue or PR from. Use when writing a brief for an issue or PR before implementing it.

Use cases: writing, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agent-brief

What's inside

Skill name
agent-brief
Description
Template and rules for an agent brief: the spec an unattended agent implements an issue or PR from. Use when writing a brief for an issue or PR before implementing it.
License
MIT
Instructions
138 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# Agent Brief

An agent brief is the contract an agent works from when it picks up an issue or PR without a human watching. The issue body and its comments are background; the brief is what counts. Where the brief and the thread disagree, the brief wins.

For an issue, the brief describes the change to build. For a PR, it describes what is still missing from the existing diff: gaps to close, review points to address. The rules are the same for both.

## Rules

### Write for a codebase that will move

A brief may wait days or weeks before an agent picks it up, and the code will change meanwhile. Write it so it stays true after renames and refactors.

- Name the types, function signatures, commands, and config shapes involved, and the contracts they must keep.
- Do not cite file paths or line numbers. They go stale.
- Do not assume the current internal structure will still exist.

### Say what, not how

Describe the behavior the system must have. The agent reads the code itself and chooses how to build it.

- Good: "`parse_duration()` accepts an `h` suffix and returns seconds."
- Bad: "In the parser file, add an `elif` branch after the `m` case."

### Make "done" testable

Each acceptance criterion is concrete and can be checked on its own.

- Good: "`parse_duration("2h")` returns `7200`."
- Bad: "Hour durations work properly."

### Draw the boundary

List what is out of scope, so the agent does not gold-plate or change neighbouring features.

## Template

```markdown
## Agent Brief

**Category:** bug / enhancement
**Summary:** one line on what has to change

**Current behavior:**
What happens today. For a bug, the broken behavior. For an enhancement, the starting point it builds on. For a PR, the state of the diff.

**Desired behavior:**
What happens once the work is done, including edge cases and error handling.

**Key interfaces:**
- `TypeOrFunction`: what changes and why
- Return types, config keys, CLI flags, or events that change, old vs new

**Acceptance criteria:**
- [ ] Concrete, independently checkable criterion
- [ ] ...

**Out of scope:**
- Related things this work must not touch
```

## Example: bug

```markdown
## Agent Brief

**Category:** bug
**Summary:** CSV export drops rows whose note field contains a newline

**Current behavior:**
Exporting orders to CSV writes a note containing a line break unquoted, so
spreadsheet tools split that order across two rows and shift every later column.

**Desired behavior:**
Any field containing a comma, double quote, or line break is wrapped in double
quotes, with inner double quotes doubled, as RFC 4180 describes. Other fields
are written unchanged.

**Key interfaces:**
- The order-export function that returns CSV text: signature unchanged, output
  quoting fixed
- The `Order.note` field: free text, may contain any character

**Acceptance criteria:**
- [ ] A note `line one\nline two` exports as one quoted field on one record
- [ ] A note containing `"` exports with the quote doubled
- [ ] Fields with none of the special characters are byte-for-byte unchanged
- [ ] A test covers each of the three cases above

**Out of scope:**
- Changing the column order or the header row
- Other export formats (JSON, XLSX)
```

## Example: enhancement

```markdown
## Agent Brief

**Category:** enhancement
**Summary:** `backup` command gets a `--keep <n>` option to prune old snapshots

**Current behavior:**
Each `backup` run writes a new timestamped snapshot. Nothing deletes old ones,
so disk use grows without limit.

**Desired behavior:**
With `--keep <n>`, after a successful backup, only the newest `n` snapshots
remain. Without the flag, nothing is deleted. `n` must be a positive integer;
otherwise the command exits non-zero with a clear message before backing up.
If the backup fails, no snapshot is pruned.

**Key interfaces:**
- `backup` CLI: new `--keep <n>` option
- The snapshot listing already used by `backup list`: the source of which
  snapshots exist and their order

**Acceptance criteria:**
- [ ] `backup --keep 3` with 5 existing snapshots leaves the newest 3 after the run
- [ ] `backup` without `--keep` deletes nothing

From adib-11/issue-solver, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 26, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from adib-11

Cite this page

agent-brief skill. Agent Mart. https://agentmart.dev/skills/adib-11-agent-brief (last updated 2026-10-24)