SKILL·B3FCE4

ax-extract-workflow

Necmttn
更新于 9 days ago
93
9
93
在 GitHub 上查看
automationdesign

关于

This skill reconstructs the step-by-step workflow used to create a specific past artifact, like a feature or PR. It analyzes relevant development sessions to narrate the sequence of skills and actions that produced the final result. It's triggered by queries asking how something was built or shipped, not by requests for generic activity logs.

快速安装

Claude Code

推荐
主要方式
npx skills add Necmttn/ax -a claude-code
插件命令备选方式
/plugin add https://github.com/Necmttn/ax
Git 克隆备选方式
git clone https://github.com/Necmttn/ax.git ~/.claude/skills/ax-extract-workflow

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

ax:extract-workflow - reconstruct the recipe behind a shipped artifact

Given a deliverable (a demo, a PR, a feature) the user wants to know: what skills, in what order, produced it? This skill resolves an anchor (date or sha), windows the relevant sessions, and narrates the ordered skill arcs in plain text. Eats its own dogfood: it is itself a framing skill.

Assumes ax (axctl) is on PATH and the local SurrealDB is running. If ax sessions here fails with a connection error, tell the user scripts/db-start.sh and stop.

When to fire

ONLY on explicit reconstruction triggers:

  • "what made <X> work" / "how did we ship <Y>"
  • "extract workflow from <date>" / "extract workflow from <sha>"
  • "what was the workflow around <topic>"
  • "reconstruct the recipe for <artifact>"
  • "show me how I built <feature>"

Do NOT fire on generic "what did I do today" or "show recent activity". That is ax sessions here territory, not this skill.

Step 1 - resolve the anchor

Decide one of three modes based on what the user gave you:

User saidModeAction
commit sha (full or short)shause it directly
date or date range (YYYY-MM-DD)dateuse ax sessions around <date>
topic / feature / artifact nametopicax recall "<topic>" --sources=commit --json to find candidate shas
"this repo, recently"pwdax sessions here --days=14

For topic mode pick the most relevant sha and proceed in sha mode. If results are ambiguous, ask the user to pick one before continuing.

Step 2 - window the sessions

Pick the right command for the resolved anchor:

  • sha mode: ax sessions near <sha> --json
  • date mode: ax sessions around <date> --days=3 --json
  • pwd mode: ax sessions here --days=14 --json

Pick the N most relevant sessions from the JSON (default N=5). Bias to sessions with the highest turn counts and that touch files related to the artifact.

Step 3 - inspect each session

For each picked session:

ax sessions show <id> --json
ax sessions show <id> --by-role     # optional, see Step 4

Read the top_skills and agent_delegations arrays. If a subagent's work looks central to the artifact, drill in:

ax sessions show <id> --expand=<subagent-uuid>

Step 4 - narrate

Produce two artifacts inline (no files written - keep the answer in chat).

4a. Ordered skill arc

Lead with the framing skill that opened the work (use --by-role output if available - the framing group goes first). Then execution skills, then verification. For each skill, name it and write one line on what it produced.

Example:

1. brainstorming    -> defined the workflow extraction problem
2. writing-plans    -> turned 13 grilled questions into a plan
3. subagent-driven  -> executed the plan as 17 typed-CLI tasks
4. code-review      -> two-stage spec + quality review per task
5. test-driven-dev  -> 100% green throughout

4b. Key decisions

Pull 2-4 turn excerpts where the user steered the work. Use:

ax recall "<keyword>" --skill=<framing-skill> --limit=5 --json

Quote one line per decision; cite the session id.

4c. Reproducer brief (optional, if user asks)

A one-paragraph "to do this again, you would" summary - the skills, the order, and the key user inputs at the steering points.

When to recommend ax skills classify

If ax sessions show <id> --by-role returns many skills in the (unclassified) group, the role-weighted output above will be noisy. Suggest the user run ax skills classify once - it generates briefs the user can fill in to seed roles. Don't block on it; the artifact-reconstruction story still works without roles.

Output contract

Write everything inline. Do not create files under .ax/tasks/ or anywhere else. Do not modify the repo. This is a read-only, reconstruction-focused skill.

If the user asks for a permanent recipe, recommend they paste your output into docs/recipes/<name>.md themselves - ax intentionally has no recipe save format yet (per the workflow-extraction-frictions plan).

GitHub 仓库

Necmttn/ax
路径: skills/ax-extract-workflow
0
agent-memoryagent-observabilityai-agentsbunclaude-codecodex
FAQ

常见问题

什么是 ax-extract-workflow Skill?

ax-extract-workflow 是一个 Claude Skill,作者为 Necmttn。Skill 将 Claude 按需加载的说明和资源打包,让 Claude 无需额外提示即可执行与 ax-extract-workflow 相关的任务。

如何安装 ax-extract-workflow?

使用本页的安装命令:将 ax-extract-workflow 作为插件添加到 Claude Code,或将其仓库克隆到 skills 目录,然后重启 Claude 以加载该 Skill。

ax-extract-workflow 属于哪个分类?

ax-extract-workflow 属于元分类。

ax-extract-workflow 可以免费使用吗?

可以。ax-extract-workflow 已收录在 AIMCP,可免费安装。

相关推荐技能

content-collections

Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。

查看技能
polymarket

这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。

查看技能
creating-opencode-plugins

该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。

查看技能
sglang

SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。

查看技能