Code Task Brief

VerifiedSafe

Produce a self-contained task brief for a Claude Code routine, specifying what to change, why, and acceptance criteria.

Sby Skills Guide Bot
DevelopmentIntermediate
8/14/2026
Claude Code
#task-brief#handoff#claude-code-routine#github-actions#acceptance-criteria

Recommended for

Automated summary

Produces a self-contained task brief for a Claude Code routine running on GitHub Actions, stating the change, its context, the files involved and the acceptance criteria.

Strengths

  • Enforces a five-section structure (what, why, files likely touched, acceptance criteria, out of scope) so the brief stands alone without the originating conversation.
  • Demands acceptance criteria that CI or a one-line reproducer can verify, rejecting weak items such as "all tests pass".
  • Clear scoping rules: one change per brief, a 200-500 word target, and language matched to the target repository (Japanese or English).
  • Documents the dispatch path explicitly (dispatchEngineer then the orchestrator's 5-minute poll on the draft PR), which eases integration.

Limitations

  • Covers only the R-N1 exception path through workforce-engineer-routine.yml; no other workflow or dispatch mode is described.
  • Delivers only the handoff document: it neither writes the code nor checks that the routine honoured the brief.
  • Assumes the surrounding infrastructure already exists (Lambda runner, lambdas/shared/github.ts, orchestrator poll) and is not portable as-is.
When to use it

Use it when an Engineer persona needs to hand a specific code change to the Claude Code routine through the GitHub Actions workflow.

When not to use it

Avoid it for non-code changes (docs, governance, content) or when the brief would be longer than the implementation itself.

Security analysis

Safe
Quality score87/100

The skill only defines a document template and workflow handoff instructions. It declares no allowed tools and contains no executable commands, destructive actions, exfiltration, or obfuscation. No meaningful execution risk.

No concerns found

How this analysis is made

Examples

Bug fix brief
Write a code-task-brief for the engineer routine: fix the failure in newsletter/pipeline/check-gas-manifest.mjs that throws when the GAS manifest contains a file with no deployment entry.
Feature brief
Prepare a task brief to dispatch to workforce-engineer-routine.yml: add a per-IP rate limit on POST /api/newsletter, with acceptance criteria that CI can verify.
Refactor brief
Write a self-contained 200-500 word brief to refactor lambdas/shared/github.ts by extracting dispatchEngineer into its own module, and spell out what is out of scope.

name: code-task-brief description: Produce a task brief for the engineer Claude Code routine — what to change, why, acceptance criteria. Use when the Engineer persona needs to dispatch implementation work to the workforce-engineer-routine.yml GHA workflow (the R-N1 exception path); the brief is what the CC routine reads as its instructions before writing code.

code-task-brief

The handoff document between an LLM-on-Lambda planning step and a Claude Code routine that will actually write code on GitHub Actions.

Instructions

The brief must be self-contained: the CC routine has no memory of this conversation and only the brief + the target repo's files to work from.

Sections:

  1. What — one sentence stating the change. "Add X." / "Fix Y in Z." / "Refactor A to B." No "and also" — one change per brief.
  2. Why — 2-4 sentences of context the routine needs to make judgement calls. Include the failing symptom (for fixes), the user value (for features), or the design pressure (for refactors).
  3. Files likely touched — bullet list. Best-effort; the routine may diverge if it sees a better path.
  4. Acceptance criteria — checkbox list. Each item is unambiguously verifiable by CI or a one-line reproducer. "All tests pass" is too weak; "newsletter/pipeline/check-gas-manifest.mjs passes" is right.
  5. Out of scope — bullet list of nearby changes the routine should not touch.

Length target: 200-500 words in Japanese or English (the CC routine reads both; match the prevailing language of the target repo).

Trigger surface

Skills with trigger_class=claude-code-routine (this one is) hand off to the existing workforce-engineer-routine.yml workflow_dispatch path (R-N1 exception). The Lambda runner builds the brief and calls lambdas/shared/github.ts:dispatchEngineer(); the runner then exits immediately without blocking on the routine's completion. The orchestrator's 5-minute poll picks up the resulting draft PR.

When NOT to use

  • The change is non-code (docs-only, governance, content). Use a different skill or hand off directly.
  • The brief would be longer than the implementation itself — write the code directly and skip the brief.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/code-task-brief-msshyvv5/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/code-task-brief-msshyvv5' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/code-task-brief-msshyvv5/download' --output '.skill-downloads/code-task-brief-msshyvv5/SKILL.md.part' && mv '.skill-downloads/code-task-brief-msshyvv5/SKILL.md.part' '.skill-downloads/code-task-brief-msshyvv5/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/code-task-brief-msshyvv5/SKILL.md' && test -s '.skill-downloads/code-task-brief-msshyvv5/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/code-task-brief' && cp -R '.skill-downloads/code-task-brief-msshyvv5' '.claude/skills/code-task-brief'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/code-task-brief-msshyvv5'

openskills read 'code-task-brief-msshyvv5'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/code-task-brief-msshyvv5/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills