ax-extract-workflow
Skill này làm gì
Công cụ này giúp bạn hiểu cách một dự án hoặc tính năng được xây dựng. Nó xem lại lịch sử làm việc của một coding agent để cho thấy các bước, công cụ và quyết định dẫn đến kết quả cuối cùng.
Khi nào nên dùng
- ✓Khi bạn hỏi “X được xây dựng như thế nào?”
- ✓Khi bạn muốn xem chuỗi hành động đã tạo ra một thứ gì đó.
- ✓Khi bạn có tên mã, ngày tháng hoặc tên tính năng cần tìm hiểu.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ax-extract-workflow/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bảng điều khiển live ingest được xây dựng như thế nào?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ tìm các bản ghi về cách coding agent đã làm việc, kết nối các hành động, công cụ và quyết định đã đưa ra. Nó sắp xếp thông tin này thành một dòng thời gian đơn giản để giải thích quy trình.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
ax Extract Workflow
Overview
Use this skill to reconstruct the workflow behind a past coding-agent artifact:
a shipped feature, PR, demo, refactor, report, or other concrete result. It uses
the local ax graph to connect commits, sessions, turns, skills, and tool traces
into a short "how this got made" narrative.
ax must be installed, available on PATH, and able to reach its local database.
If ax cannot connect to its DB, report the connection failure and stop instead of
guessing from memory.
When to Use This Skill
- Use when the user asks "how did we build X?", "what made X work?", or "extract the workflow behind this artifact."
- Use when the anchor is a commit SHA, date, feature name, PR, session, or repo-local artifact.
- Use when the user wants the sequence of agent skills, prompts, commands, decisions, and checks that led to a result.
- Do not use for a generic activity summary; use normal session listing instead.
How It Works
Step 1: Resolve the Anchor
Identify the best anchor from the user's request:
- Commit SHA: use it directly.
- Date or date range: inspect sessions around the date.
- Topic, feature, or artifact name: search recall for related turns, commits, and skills.
- "This repo recently": list recent sessions for the current repo.
ax recall "live ingest dashboard" --sources=turn,commit,skill --scope=here
ax sessions near abc1234 --json
ax sessions around 2026-06-15 --days=3 --json
ax sessions here --days=14
These commands are read-only inspection commands.
Step 2: Pick Relevant Sessions
Choose the few sessions most likely to explain the artifact. Prefer sessions that mention the artifact, touch related files, include relevant commits, or have skills and tool calls that match the work.
If several candidates are plausible, show the user the candidates and ask which one to inspect.
Step 3: Inspect the Session Trail
Open each selected session and look for:
- skills used and their order
- user steering points and clarified constraints
- files, tests, and commands that changed the direction of the work
- subagent or tool traces that produced key evidence
- verification steps before the result was considered done
ax sessions show <session-id> --json
ax sessions show <session-id> --by-role
ax recall "specific keyword from the artifact" --sources=turn,commit --scope=here
Step 4: Write the Reconstruction
Return the result inline unless the user asks for a file. Keep it short and evidence-grounded:
- Anchor: the date, commit, feature, or artifact you resolved.
- Ordered workflow: 4-8 steps showing the skill or action and what it produced.
- Key decisions: the user or agent choices that changed the path.
- Verification: tests, reviews, checks, or manual evidence.
- Reproducer brief: the compact recipe for doing similar work again.
Use session IDs, commit SHAs, and file paths as citations when available.
Examples
Reconstruct a Feature from a Commit
ax sessions near 8f31c2a --json
ax sessions show <session-id> --by-role
ax sessions show <session-id> --json
Output shape:
Anchor: 8f31c2a, live ingest dashboard
Workflow:
1. Problem framing -> narrowed the failure to stale dashboard polling.
2. Session recall -> found the earlier ingest-stream design and constraints.
3. Implementation -> wired the server event bus and browser subscription.
4. Verification -> ran typecheck and refreshed the dashboard locally.
Reproducer brief:
Start from the failing artifact, find nearby sessions, inspect role-grouped
skills, then summarize the smallest ordered path from framing to verification.
Reconstruct Work Around a Date
ax sessions around 2026-06-15 --days=2 --json
ax recall "otel receiver" --sources=turn,commit,skill --scope=here
Use this when the user remembers when the work happened but not the commit.
Best Practices
- Start from the most concrete anchor available: SHA beats date, date beats vague topic.
- Treat ax as the source of truth; do not invent missing skills, costs, commands, or decisions.
- Quote sparingly and only when a user decision or command matters to the reconstruction.
- Keep private transcript details private; summarize rather than dumping logs.
- Separate "what happened" from "what to repeat next time."
Limitations
- Requires a working local ax installation and reachable local ax database.
…
Câu hỏi thường gặp
“Artifact” là gì?
“Artifact” là bất kỳ kết quả cụ thể nào từ công việc của agent, như một tính năng đã hoàn thành, mã đã gửi (PR), bản demo hoặc báo cáo.
“ax” là gì?
“ax” là công cụ mà coding agent dùng để ghi lại công việc của nó. Skill này yêu cầu “ax” phải được cài đặt và hoạt động trên máy tính của bạn.
Tôi có thể dùng công cụ này để xem mình đã làm gì hôm qua không?
Có, nếu bạn nhớ thời điểm công việc được làm hoặc có tên cho nó, công cụ có thể giúp tái dựng quy trình.
Chi tiết
Mô tả gốc của tác giả
Reconstruct workflow behind a past coding-agent artifact using local ax sessions/commits/skills/tool traces. Use when asked how X was built.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #3873
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.