Agent Skills › askman-dev/coding-agent-starter

askman-dev/coding-agent-starter

GitHub

用于起草、撰写或修订GitHub Issue。引导Agent按Context、Problem、Goals和Acceptance Criteria四部分结构输出,确保内容简洁且可验证,不包含实施计划或验证命令。

6 skills 1

Install All Skills

npx skills add askman-dev/coding-agent-starter --all -g -y
More Options

List skills in collection

npx skills add askman-dev/coding-agent-starter --list

Skills in Collection (6)

用于起草、撰写或修订GitHub Issue。引导Agent按Context、Problem、Goals和Acceptance Criteria四部分结构输出,确保内容简洁且可验证,不包含实施计划或验证命令。
用户请求起草GitHub Issue 用户请求撰写GitHub Issue 用户请求修订GitHub Issue
.agents/skills/draft-issue/SKILL.md
npx skills add askman-dev/coding-agent-starter --skill draft-issue -g -y
SKILL.md
Frontmatter
{
    "name": "draft-issue",
    "description": "Use when drafting a GitHub issue. Guides agents to write a concise issue focused on Context, Problem, Goals, and Acceptance Criteria. Does not require an Implementation Plan or Validation Commands."
}

Draft Issue

Use this skill when the user asks you to draft, write, or revise a GitHub issue.

This skill is for issue drafting only. Do not use it for implementation plans, PR summaries, or post-implementation reports.

Default Structure

Write the issue in the same language the user is using. Use these four sections, in this order:

## Context

<Current state: what exists today, what the user or system is doing, and any relevant background.>

## Problem

<The limitation, pain point, bug, or gap that motivates this issue.
Be specific: what breaks, what is missing, or what is confusing.>

## Goals

- <What this issue should achieve, from the user's or system's perspective.>
- <Add one bullet per distinct goal. Keep goals high-level, not implementation steps.>

## Acceptance Criteria

- <A testable or user-observable outcome that must be true when this issue is resolved.>
- <Add one bullet per criterion.>

Writing Rules

  • Keep each section short and direct. Omit filler sentences.
  • Context describes current reality, not the desired future state.
  • Problem explains why the current reality is insufficient. One paragraph is usually enough.
  • Goals are outcome-oriented, not task lists. Avoid "implement X"; prefer "user can do Y".
  • Acceptance Criteria must be verifiable. Prefer observable behavior over internal implementation details.
  • Do not add an Implementation Plan, Validation Commands, or Motivation section unless the user explicitly asks.
  • Do not add a title unless asked; the user typically sets the issue title in GitHub.

Quality Checklist

Before returning the draft, check:

  • All four sections are present: Context, Problem, Goals, Acceptance Criteria.
  • Context and Problem are distinct: Context = current state, Problem = why it is insufficient.
  • Goals describe outcomes, not implementation steps.
  • Every acceptance criterion is testable or user-observable.
  • The draft is concise — no padding, no repeated content across sections.
用于将模糊的工程或产品里程碑目标转化为可衡量的完成标准。通过替换形容词,引入具体数量、覆盖率、阈值、对比基准及产出物等量化指标,确保目标清晰且可验证,适用于AI或人类执行。
起草或审查里程碑目标时 用户询问目标是否足够清晰以便执行时 发现目标包含模糊词汇如“更好”、“稳定”、“足够”时
.agents/skills/quantified-milestone/SKILL.md
npx skills add askman-dev/coding-agent-starter --skill quantified-milestone -g -y
SKILL.md
Frontmatter
{
    "name": "quantified-milestone",
    "description": "Use when drafting, reviewing, or revising milestone goals for engineering, product, documentation, research, evaluation, or agent work. Guides agents to replace vague success language with measurable completion criteria while keeping the milestone structure flexible."
}

Quantified Milestone

Use this skill when the user asks for a milestone, next goal, handoff goal, work package, experiment goal, or asks whether a goal is clear enough for an AI or human to execute.

This skill is not a rigid template. The core rule is:

Turn important adjectives into measurable completion criteria.

Agents often write milestones that sound useful but cannot be judged, such as "improve quality", "make it stable", "run enough tests", "build a usable first version", or "validate the design". A quantified milestone defines what "done" means with numbers, thresholds, comparison targets, explicit coverage, or pass/fail checks.

When To Apply

Apply this skill whenever a milestone includes vague words such as:

  • better, stronger, improved
  • enough, sufficient, usable, complete
  • larger, smaller, faster, slower
  • stable, reliable, robust
  • high quality, good, acceptable
  • validate, test, evaluate, compare
  • production ready, reviewable, releasable

Do not force every milestone into the same headings. Preserve the user's natural structure when possible, but add measurable criteria where the goal would otherwise be ambiguous.

Quantification Checklist

For each important goal, ask whether at least one of these is specified:

  • Count: records, cases, screens, files, samples, tests, commits, runs.
  • Coverage: categories, sources, platforms, modes, user flows, edge cases.
  • Ratio: pass rate, completion rate, error rate, coverage rate, accuracy.
  • Threshold: minimum acceptable value or maximum allowed value.
  • Comparison: baseline artifact, previous version, current production path, known-good behavior, or fixed reference implementation.
  • Budget: time, memory, file size, latency, CPU, cost, token usage.
  • Failure handling: what to report and commit if the target is not reached.
  • Artifacts: exact output files, reports, manifests, logs, screenshots, test results, or pull requests that prove completion.

Rewrite Examples

Prefer concrete criteria over vague direction:

Improve the onboarding flow.

Becomes:

Update the onboarding flow so a new user can complete account setup, create one
project, and reach the first usable workspace screen on desktop and mobile.
Validate with one automated happy-path test and two screenshots: mobile narrow
and desktop wide.
Make the UI stable.

Becomes:

The target flow completes 20 consecutive runs on desktop and mobile viewports
with no severe console errors, no overlapping controls in screenshots, and no
failed interaction checkpoint.
Write better docs.

Becomes:

Create or update the docs page so it defines the feature, lists the supported
states, includes one minimal example, links to the relevant task or spec, and
removes any outdated behavior claims from the old page.

Engineering Milestones

For implementation work, quantify:

  • supported platforms or modes
  • required user flows
  • exact tests or evidence runs
  • failure states that must be handled
  • performance, size, or cost limits when relevant
  • migration, compatibility, or rollback requirements

Avoid claiming "done" because code exists. Completion requires evidence that the behavior works under the stated conditions.

Product And Documentation Milestones

For product or documentation work, quantify:

  • what a user can do after the change
  • which concepts, states, or terms must be defined
  • which pages, sections, or examples must be updated
  • which outdated descriptions must be removed
  • which acceptance criteria can be checked by a human reviewer
  • which specs, tasks, or plans must be linked as supporting context

Keep product goals outcome-oriented. Avoid turning them into implementation task lists unless the user explicitly asks for a delivery plan.

Research And Evaluation Milestones

For experiments, do not require success when the outcome is genuinely unknown. Instead, quantify the experiment and require a useful conclusion:

Run at least N trials under fixed settings. If the target is not met, commit the
report and state the leading hypothesis for why the experiment failed.

Good research milestones include:

  • a fixed baseline
  • fixed settings shared by baseline and candidate
  • minimum sample size
  • success threshold
  • negative-result reporting requirement
  • required artifact paths

Good Final Check

The milestone is ready when another agent or human can answer these questions without reading the original chat:

  • What does done mean?
  • How will it be verified?
  • Where will the proof live?
  • What baseline or current behavior is it compared against?
  • What happens if the target is not reached?
  • What is explicitly out of scope?

If any answer is missing, tighten the milestone before treating it as ready.

用于起草、修订或持久化执行就绪的任务简报。将GitHub Issue转化为包含背景、目标、执行计划、验收标准和验证命令的结构化文档,支持自动保存到docs/tasks/backlog目录。
用户请求制定任务计划或实施简报 需要将GitHub Issue转化为可执行的任务文档 生成执行就绪的功能、修复或重构说明
.agents/skills/task-brief/SKILL.md
npx skills add askman-dev/coding-agent-starter --skill task-brief -g -y
SKILL.md
Frontmatter
{
    "name": "task-brief",
    "description": "Use when drafting, revising, or persisting an execution-ready task brief for a feature, bug fix, refactor, documentation update, or other repository change. Bridges draft issues into docs\/tasks work items with Background, Goals, Execution Plan, Acceptance Criteria, and Validation Commands."
}

Task Brief

Use this skill when the user asks for a plan, task brief, implementation brief, execution plan, or when a GitHub issue or product request needs to become an actionable task document.

This skill is for execution-ready task planning. It is distinct from:

  • draft-issue: defines the need, problem, goals, and acceptance criteria.
  • task-lifecycle: moves task files through backlog, doing, done, and trash.

Persistence Rule

When a task brief should be saved, place it under docs/tasks/backlog/ unless the user explicitly says the work is already in progress or complete.

Use a timestamped filename:

YYYY-MM-DD-HH-mm-<short-kebab-title>.md

Append a timezone suffix when useful or already established by the repository:

2026-06-11-14-30-+08-add-user-skills.md

Default Structure

Write the task brief in English using these sections, in this order:

# <Short Task Title>

## Background

<Plain background text, or optional subsections when they help.>

### Context

<Optional: current state and relevant existing behavior.>

### Problem

<Optional: limitation, pain point, bug, or gap.>

### Motivation

<Optional: why the change is valuable.>

## Goals

- <Outcome-oriented goal 1>
- <Outcome-oriented goal 2>

## Execution Plan

1. <Phase or step 1>
2. <Phase or step 2>
3. <Phase or step 3>

## Acceptance Criteria

- <Testable and user-observable outcome 1>
- <Testable and user-observable outcome 2>

## Validation Commands

- `<command 1>`
- `<command 2>`

Background Rules

  • Context, Problem, and Motivation are optional subsections.
  • Use only the subsections that fit the request size and type.
  • For small or obvious changes, write direct prose under Background without subsections.
  • For larger or ambiguous changes, prefer the optional subsections to separate current state, pain points, and value.

Writing Rules

  • Write task briefs in English unless the user explicitly asks for another language.
  • Keep the brief execution-oriented, not product-marketing-oriented.
  • Keep display names and stable storage identities separate when defining extensible configuration systems.
  • Include validation commands as their own section, not inside acceptance criteria.
  • Make acceptance criteria testable and user-observable where possible.
  • Mention specs map updates when the change affects user-visible behavior or a cross-cutting technical contract.
  • Mention task lifecycle placement when saving the brief, such as docs/tasks/backlog/ for not-yet-started work.
  • Avoid implementation trivia, but include enough phased detail that another agent or human can execute the work.

Quality Checklist

Before returning or saving the task brief, check:

  • The brief uses Background, Goals, Execution Plan, Acceptance Criteria, and Validation Commands.
  • Optional Background subsections are used only when they improve clarity.
  • Goals describe outcomes, not internal implementation steps.
  • Acceptance criteria describe observable or verifiable outcomes.
  • Validation commands are relevant to the touched area.
  • If saved, the file lives in the correct docs/tasks/ lifecycle folder.
  • If behavior or technical contracts change, the brief calls out the expected specs map update.
管理任务文件在docs/tasks/各目录间的流转。根据用户指令将任务计划文件在backlog、doing、done和trash间移动,完成时触发代码地图更新,仅处理文档流程。
用户表示任务已开始 用户表示任务已完成 用户表示任务暂停或优先级降低 用户表示任务被放弃或取代
.agents/skills/task-lifecycle/SKILL.md
npx skills add askman-dev/coding-agent-starter --skill task-lifecycle -g -y
SKILL.md
Frontmatter
{
    "name": "task-lifecycle",
    "description": "Manage task file transitions across docs\/tasks\/ (backlog→doing→done→trash). Use when a user says a task has started, is complete, is on hold, or is being abandoned. Moves plan files to the correct folder and triggers code map updates on completion."
}

Task Lifecycle

Use this skill whenever a task changes state:

  • A task is picked up and work begins → backlog → doing
  • A task is finished → doing → done
  • A task is put on hold or deprioritized → doing → backlog
  • A task is abandoned or superseded → any → trash

This skill manages documentation flow only. It does not manage git branches, PRs, or worktrees.

Folder Meanings

Folder Meaning
docs/tasks/backlog/ Ideas and drafts not yet started
docs/tasks/doing/ Actively in progress
docs/tasks/done/ Completed and shipped
docs/tasks/trash/ Abandoned or superseded

Transition Playbooks

backlog → doing

When the user selects a task to start:

  1. Identify the plan file in docs/tasks/backlog/.
  2. Move it to docs/tasks/doing/.
  3. Confirm the move to the user.

doing → done

When the user says a task is complete:

  1. Identify the plan file in docs/tasks/doing/.
  2. Move it to docs/tasks/done/.
  3. Invoke the code-map-maintainer skill to check whether docs/code_maps/feature_map.yaml or docs/code_maps/logic_map.yaml need updating based on what the task changed.
  4. Remind the user: if a .worktree/ directory exists for this task, it can be manually removed.

doing → backlog

When the user puts a task on hold:

  1. Identify the plan file in docs/tasks/doing/.
  2. Move it to docs/tasks/backlog/.
  3. Confirm the move to the user.

any → trash

When the user abandons or supersedes a task:

  1. Identify the plan file in its current folder.
  2. Move it to docs/tasks/trash/.
  3. Confirm the move to the user.

Identifying the Right File

When the user refers to a task by name (not exact filename):

  1. List files in the relevant folder(s).
  2. Match by keywords in the filename.
  3. If ambiguous, show the user the candidates and ask them to confirm before moving.

What This Skill Does NOT Do

  • Does not merge, close, or create PRs or branches.
  • Does not delete worktrees — only reminds the user to clean up manually.
  • Does not check whether code is actually implemented or merged before moving a file.
  • Does not manage tasks outside docs/tasks/.
用于协调基于tmux的worker代理,管理工人注册、创建协议、就绪检查及路由规则。定义权限边界,配合steward技能分配具体工作,确保任务安全分发与最终审核。
需要创建新的tmux worker代理 查询现有worker列表或状态 根据任务类型选择并路由给合适的worker 验证worker是否已就绪且可信任
.agents/skills/tmux-agent-master/SKILL.md
npx skills add askman-dev/coding-agent-starter --skill tmux-agent-master -g -y
SKILL.md
Frontmatter
{
    "name": "tmux-agent-master",
    "description": "Use when creating, registering, inspecting, or routing work across tmux-backed worker agents. Defines the worker registry, creation protocol, readiness checks, routing rules, and authority boundaries. Pair with tmux-worker-steward when assigning concrete work."
}

Tmux Agent Master

Use this skill when a project coordinates tmux-backed worker agents.

This skill answers:

  • Which worker agents exist?
  • How should a new worker be created?
  • What is each worker good for?
  • Which worker should receive a given task?
  • What must be verified before trusting that a worker is ready?

Pair it with tmux-worker-steward whenever the master assigns concrete work. This skill manages the worker pool and routing. tmux-worker-steward manages delegation, supervision, output review, and correction.

Worker Registry

Each project should maintain a short worker registry before using tmux workers. The registry may live in this skill, a project AGENTS.md, or another repo-local instruction file.

Record each worker with:

### <worker-name>

- Session: `<tmux-session-or-window>`
- Working directory: `<absolute-or-repo-relative-path>`
- Role: <primary role>
- Strengths: <what this worker is good at>
- Best use: <task shapes to send here>
- Cost profile: <cheap, moderate, expensive, scarce, etc.>
- Boundaries: <what this worker should not decide or do>
- Submission method: <Enter, Ctrl+Enter, headless command, or other verified path>

Keep worker identity separate from worker role. A model, CLI, or session can be replaced while the role remains useful.

Creation Protocol

Before creating a worker:

  1. Define the worker role and why an existing worker is not enough.
  2. Choose a stable session name that includes the project and role.
  3. Choose the working directory.
  4. Decide allowed actions: read-only, command execution, network/search, editing, or explicitly no destructive actions.
  5. Decide how the worker will receive prompts and how readiness will be checked.

After creating a worker:

  1. Verify the session exists.
  2. Verify the process is running in the intended working directory.
  3. Send a small visible probe or use the worker's non-interactive command mode.
  4. Confirm the prompt was submitted, not merely typed into an input box.
  5. Add or update the worker registry entry.

Useful inspection commands:

tmux list-sessions
tmux list-windows -a
tmux list-panes -a -F '#{session_name}:#{window_index}.#{pane_index} window=#{window_name} cmd=#{pane_current_command} cwd=#{pane_current_path} title=#{pane_title}'
tmux capture-pane -p -t <session-or-pane>

Routing Rules

Match workers to task properties:

  • Final judgment, code changes, or high-risk decisions: keep with the master.
  • Second opinion, risk review, or competing design: use a strong reasoning worker.
  • Broad repo search, document survey, or evidence gathering: use a scout worker.
  • Cheap bounded summarization, counting, formatting, or checklist work: use a low-cost worker.

Do not delegate final authority. Worker output is advisory until reviewed by the master or steward.

Authority Boundaries

The master owns:

  • task decomposition
  • worker selection
  • permission boundaries
  • final synthesis
  • deciding what evidence is trustworthy
  • deciding whether code should change

Workers may:

  • inspect files, logs, docs, artifacts, and process state within their scope
  • produce summaries, candidate explanations, options, and recommendations
  • run allowed commands when the project and user allow it

Workers must not:

  • perform destructive actions without explicit approval
  • make final release, merge, deletion, or irreversible infrastructure decisions
  • treat their own output as accepted without master/steward review

Readiness And Submission Checks

Never assume a tmux worker received a task just because text appears in the pane. Verify one of:

  • the worker is thinking
  • the worker is running tools or commands
  • the worker has started responding
  • the non-interactive command returned an output artifact

If submission is uncertain, correct the interaction before waiting for results.

Handoff To Steward

When assigning concrete work, hand off to tmux-worker-steward with:

  • selected worker
  • objective
  • scope
  • allowed actions
  • forbidden actions
  • expected output
  • evidence requirements

The steward should supervise the worker and review the answer before it reaches the user or drives implementation.

用于在tmux多智能体架构中委派、监督及审查工作者任务。负责将意图转化为精确指令,验证提交状态,审查输出证据,并纠正弱推理以确保最终结果可靠。
master代理需要向tmux工作者分配具体任务时 需要监督工作者执行进度或审查其返回结果时
.agents/skills/tmux-worker-steward/SKILL.md
npx skills add askman-dev/coding-agent-starter --skill tmux-worker-steward -g -y
SKILL.md
Frontmatter
{
    "name": "tmux-worker-steward",
    "description": "Use with tmux-agent-master when delegating concrete work to tmux-backed worker agents. Translates intent into precise assignments, supervises worker progress, reviews evidence, and corrects weak reasoning before worker output is trusted.",
    "disable-model-invocation": true
}

Tmux Worker Steward

Use this skill when the master assigns work to tmux-backed worker agents.

This skill answers:

  • How should the worker assignment be written?
  • How should worker progress be supervised?
  • How should worker answers be reviewed?
  • When should a weak answer be corrected instead of passed through?

This skill pairs with tmux-agent-master:

  • tmux-agent-master creates, registers, inspects, and selects workers.
  • tmux-worker-steward delegates, supervises, reviews, and corrects worker output.

Steward Responsibilities

  1. Translate the user's intent.

    • Preserve the real objective, not just the literal wording.
    • Make implicit constraints explicit.
    • Remove ambiguity before handing work to a worker.
  2. Write precise assignments.

    • State objective, context, scope, allowed actions, forbidden actions, and expected output.
    • Ask for evidence, not impressions.
    • Tell the worker what not to conclude without proof.
  3. Supervise execution.

    • Verify the prompt was actually submitted.
    • If the worker reports a blocker, decide whether it needs clearer scope, smaller work, permission, or a different worker.
    • Answer worker questions from existing context when safe.
    • Bring true user decisions back to the user.
  4. Review output.

    • Separate useful evidence from unsupported interpretation.
    • Check whether the answer addresses the assignment.
    • Identify missing evidence, timeline gaps, overconfident claims, and invented precision.
    • Do not pass through weak answers as final.
  5. Correct weak reasoning.

    • Name the reasoning failure, not just the wrong conclusion.
    • Explain why it matters.
    • Send a revised task with concrete evidence requirements.

Assignment Template

Use this shape when sending work to a worker:

Objective:
<What we need to learn or produce.>

Context:
<Only the relevant background. Distinguish facts from assumptions.>

Scope:
<Files, commands, logs, sessions, hosts, branches, time range, or artifacts to inspect.>

Allowed actions:
- <Read-only inspection, commands, search, edits, etc.>

Forbidden actions:
- Do not modify files unless explicitly allowed.
- Do not use destructive commands.
- Do not infer root cause without direct evidence.
- Do not make final decisions for the master.

Output:
- Confirmed facts with evidence.
- Candidate explanations, if relevant.
- What is not yet proven.
- Recommended next step.

Submission Verification

After sending a task to a tmux worker, verify that the prompt was submitted and the worker left the input state.

Do not assume tmux send-keys ... C-m worked until the pane shows one of:

  • the worker is thinking
  • the worker is running tools or commands
  • the worker has started responding

If the prompt remains in the input box, submit it correctly before waiting.

Reviewing Worker Answers

Before trusting a worker answer, check:

  • Did it answer the actual question?
  • Did it use the requested scope?
  • Did it distinguish facts, hypotheses, and unknowns?
  • Did it cite concrete evidence such as file paths, commands, logs, timestamps, artifacts, or code paths?
  • Did it overclaim with words like "certainly", "only", "must", "proved", or "root cause"?
  • Did it confuse symptoms with causes?
  • Did it ignore a simpler explanation?
  • Did it propose a verification step for unresolved uncertainty?

Correction Template

Use this when a worker answer is not ready to trust:

Your answer is not ready to trust yet.

Problem:
<Name the reasoning failure, not just the wrong conclusion.>

Why it matters:
<Explain the insight or evidence standard that was missed.>

Revise by:
- <Concrete correction 1>
- <Concrete correction 2>
- <Evidence or verification required>

Return only:
<Exact output format requested.>

Common Reasoning Failures

  • Narrative overfit: building a coherent story before evidence supports it.
  • Event mixing: combining facts from different runs, hosts, branches, commands, or time windows.
  • Symptom-as-cause: treating a warning, missing file, missing log, or vanished process as the root cause.
  • Unsupported uniqueness: saying "the only cause" without ruling out alternatives.
  • Invented precision: naming exact lines, exceptions, exit codes, or behavior without direct evidence.
  • Tool-output laundering: repeating partial command output as if it proved more than it does.
  • Premature implementation: proposing a fix before the failure mode is understood.

When To Keep Work With The Master

Do not delegate when the task is:

  • final synthesis after multiple workers report back
  • irreversible or destructive
  • a decision that changes project direction
  • sensitive to user preference or product judgment
  • too ambiguous to scope safely

In those cases, the steward may gather narrow evidence from workers, but the master keeps the decision.

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-08 23:30
浙ICP备14020137号-1 $Carte des visiteurs$