Skip to content
Development
Skill

/ase-repo-task

Derive a new task plan from a Git change set -- the staged changes (or, with `--unstaged`, the unstaged and untracked changes, with `--branch`, a branch against its base, or, with `--commit`, a single commit) -- optionally narrowed to a scope topic, by filling its SPECIFICATION

From plugin
ase
7662 skills11 agents

Claude Code

$ npx -y skills add rse/ase --skill ase-repo-task --agent claude-code

SKILL.md

ase-repo-task.SKILL.md
name: ase-repo-task
argument-hint: "[--help|-h] [--focus|-f <section>[,...]] [--staged] [--unstaged] [--branch|-b <branch>] [--commit|-c <commit>] [<task-id>[:]] [<scope>]"
description: >
    Derive a new task plan from a Git change set -- the staged changes
    (or, with `--unstaged`, the unstaged and untracked changes, with
    `--branch`, a branch against its base, or, with `--commit`, a single
    commit) -- optionally narrowed to a scope topic, by filling its
    SPECIFICATION (WHAT), DESIGN (HOW), and VERIFICATION (WHEN) sections
    (or only the focused ones), so that a re-implementation of the task,
    e.g. after an export to a foreign issue tracker, yields a similar
    change set. Use when the user wants a change set, branch, or commit
    "turned into", "described as", or "reverse-engineered into" a "task",
    "plan", or "issue".
user-invocable: true
disable-model-invocation: false
effort: high
allowed-tools:
    - "Bash(git diff *)"
    - "Bash(git ls-files *)"
    - "Bash(git rev-parse *)"
    - "Bash(git for-each-ref *)"
    - "Bash(git rev-list *)"
    - "Bash(git merge-base *)"
    - "Bash(git branch *)"
    - "Bash(git worktree list *)"
    - "Bash(git show *)"
    - "Bash(git log *)"
    - "Bash(git grep *)"
    - "Bash(git ls-tree *)"
    - "Bash(git -C *)"

@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md

<purpose name="ase-repo-task"> Derive a Task from a Change Set </purpose>

<expand name="getopt" arg1="ase-repo-task" arg2="--focus|-f=(all|SPECIFICATION|SPEC|WHAT|DESIGN|DES|HOW|VERIFICATION|VERIFY|VER|WHEN)... --staged --unstaged --branch|-b= --commit|-c="> $ARGUMENTS </expand>

<objective> *Reverse-engineer* a Git change set -- optionally narrowed to a scope topic -- into a *new task plan*, whose `SPECIFICATION (WHAT)` is *exactly precise*, whose `DESIGN (HOW)` captures at least the *major cruxes*, and whose `VERIFICATION (WHEN)` is *decent*, so that an independent re-implementation of the task yields a *similar* change set. </objective>

@${CLAUDE_SKILL_DIR}/../../meta/ase-format-task.md @${CLAUDE_SKILL_DIR}/../../meta/ase-common-task.md

Procedure ---------

This skill *never* modifies any artifact of the working copy: it only reads the change set and the project files, and persists the new task plan exclusively via the `ase_task_save` MCP tool.

1. **Determine Task and Scope:**

1. Set <instruction><getopt-arguments/></instruction>, with any leading and trailing whitespace stripped, and set <new-task-id></new-task-id> and <scope></scope> (both empty). Inherit the always existing <ase-session-id/> from the current context. Do not output anything.

<expand name="task-focus" arg1="ase-repo-task"></expand>

2. React on the task id and the scope:

<if condition=" <instruction/> matches the regexp `^[a-zA-Z0-9#][a-zA-Z0-9#_-]*:?$` "> The lone token is the *task id* (with an optional and ignored trailing `:`), never a scope. Set <new-task-id/> to <instruction/>, with any trailing `:` stripped. </if> <elseif condition=" <instruction/> has the format `<id/>: <text/>` where <id/> matches the regexp `^[a-zA-Z0-9#][a-zA-Z0-9#_-]*$` "> Set <new-task-id><id/></new-task-id> and <scope><text/></scope>, with any leading and trailing whitespace stripped. </elseif> <else> No task id was given, so a new one is allocated in step 5. Set <scope><instruction/></scope>. </else>

<if condition="<scope/> is not empty"> Only output the following <template/>:

<template> ⧉ **ASE**: ✪ skill: **ase-repo-task**, ⌕ scope: **<scope/>** </template> </if>

3. <if condition="<new-task-id/> is not empty"> *Detect a target collision*, strictly *before* any further work: call the `ase_task_list(verbose: false)` tool of the `ase` MCP server and check the `id` fields of the returned `tasks` array. Do not output anything related to this MCP tool call. If <new-task-id/> is already present, only output the following <template/> and then immediately *STOP* processing the entire current skill, leaving the existing task plan untouched:

<template> ⧉ **ASE**: ◉ task: **<new-task-id/>**, ▶ status: **target exists** </template>

Directly *after* this <template/>, and *before* stopping, give the corrective hint by expanding the following (which, depending on the configured <ase-guidance-level/>, may expand into nothing and hence emit no output at all):

<ase-tpl-hint level="minimal"> Use `/ase-task-delete <new-task-id/>` to delete the existing task plan first, or choose another task id. </ase-tpl-hint> </if>

2. **Determine Change Set:**

1. <if condition="<getopt-option-commit/> is not empty and (<getopt-option-branch/> is not empty or <getopt-option-staged/> is equal `true` or <getopt-option-unstaged/> is equal `true`)"> Only output the following <template/> and then *STOP* immediately:

<template> ⧉ **ASE**: ✪ skill: **ase-repo-task**, ▶ ERROR: option `--commit` cannot be combined with `--branch`, `--staged`, or `--unstaged` </template> </if>

Set <changes/> to the *uncommitted* changes to derive from: to `staged and unstaged` if both <getopt-option-staged/> and <getopt-option-unstaged/> are equal `true`, to `staged` if only <getopt-option-staged/> is equal `true`, to `unstaged` if only <getopt-option-unstaged/> is equal `true`, and to empty otherwise. Here, the `unstaged` changes always include the *untracked* files.

2. <if condition="<getopt-option-branch/> is not empty"> Determine the *

Read more
@rse
Ships withase

Agentic Software Engineering (ASE)

7662 skills11 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
76
Star history of rse/ase on GitHub, a chart by star-history.com

Other skills on ase.

hello

hello

Show a nice greeting message with a timestamp. Use this when the user wants to greet or say hello, optionally to a certain…

@rse@rseInstall Skill
ase-arch-analyze

ase-arch-analyze

Review software architecture, including package cohesion and inter-package coupling

@rse@rseInstall Skill
ase-arch-discover

ase-arch-discover

Discover additional, third-party components (libraries/frameworks) for the technology stack to provide needed functionality.

@rse@rseInstall Skill
ase-code-analyze

ase-code-analyze

Analyze the source code for problems in either the logic and semantics and its related control flow, performance and efficiency,…

@rse@rseInstall Skill
ase-code-edit

ase-code-edit

Edit Source Code: Use when the user wants to "edit" the code base in one shot from a query or a bare analyzer issue id like "P1",…

@rse@rseInstall Skill
ase-code-explain

ase-code-explain

Explains code with WHAT, WHY, ANALOGY, DIAGRAM, CRUXES, and GOTCHAS. Use when you want to know how code works or when the user…

@rse@rseInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about ase-repo-task.

Which coding agents can use ase-repo-task?
ase-repo-task installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.