跳到正文
Skillpedia
通用编程48k · #4605

feature-tracking

它能做什么

这个工具可以帮你整理并记录代码中特定部分(称为“功能”)的重要信息。它会用简单的文本文件记录哪些部分运行正常、做过哪些决定、存在哪些风险以及有哪些变更。即使你停下工作再回来,这些记忆也会被保留。

适用场景

  • ✓休息之后重新回到某段代码上工作时。
  • ✓关于某段代码的信息分散在多个地方时。
  • ✓某段代码长期存在,需要清晰记录其决策和风险时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/feature-tracking/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/feature-tracking/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我整理登录功能的信息,记录关键决策和已知风险。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会为每个代码功能创建文件夹和简单的文本文件。文件中会保存当前运行状态的摘要、正式文档的位置、重要决策、风险以及变更历史。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Feature Tracking

Overview

Feature Tracking maintains lightweight, repository-native memory for long-lived feature work. It gives AI coding agents a stable place to find the current status, authoritative documents, verified behavior, durable decisions, risks, and recent changes without treating chat history or stale plans as truth.

The workflow uses a global index plus one Markdown track per feature under docs/features/. It complements issue trackers, specifications, and source code by linking the evidence that still matters rather than duplicating it.

When to Use This Skill

  • Use when starting or resuming work on a feature after a session, agent, or tool change.
  • Use when feature knowledge is scattered across PRDs, API notes, plans, issues, and old commits.
  • Use when a long-lived feature needs durable decisions, risks, rollout constraints, or migration notes.
  • Use when reviewing or finishing feature work and recording the verified outcome for future agents.
  • Use when adopting lightweight project memory in an existing repository without reorganizing all documentation.

Do not use this skill merely to log every code edit or replace an existing issue tracker. Use it when future contributors need a concise, current view of an entire feature.

How It Works

Step 1: Discover Existing Feature Memory

Before changing a feature:

  1. Read docs/features/README.md if it exists.
  2. Identify the feature id from the request, code module, route, domain, or existing documentation.
  3. Read docs/features/<feature-id>/README.md if it exists.
  4. Follow its current source-of-truth links before proposing or implementing changes.

Never assume an old plan is authoritative merely because it is detailed. Prefer current code, tests, accepted specifications, and recent verified decisions.

Step 2: Create the Minimal Structure When Missing

Use lowercase hyphen-case for feature ids:

docs/features/
├── README.md
└── <feature-id>/
    ├── README.md
    ├── prd/
    ├── api/
    ├── plans/
    └── archive/

For an existing repository, create only the directories needed now. Link useful documents where they already live before considering a migration.

The global index should remain a compact navigation and status surface:

# Feature Tracks

| Feature | Status | Track | Source of Truth | Updated | Notes |
|---|---|---|---|---|---|
| Checkout | active | `checkout/README.md` | `checkout/prd/checkout.md` | 2026-07-13 | Payment retry work in progress |

Use project-local status names when the repository already defines them. Otherwise prefer a small vocabulary such as planned, active, stable, paused, or deprecated.

Step 3: Maintain the Feature Track

Each docs/features/<feature-id>/README.md should summarize current truth and link to detailed evidence:

# Checkout Feature Track

## Current Status

Checkout supports one-time card payments. Automatic payment retry is in progress.

## Source of Truth

- Checkout PRD: `prd/checkout.md`
- Payments API: `api/payments.md`
- Current implementation plan: `plans/payment-retry.md`

## Current Behavior

- Customers can complete one-time card payments.
- Failed payments currently require a manual retry.

## Decisions

- Preserve idempotency keys across automatic retries.
- Keep retry policy in the payments service.

## Known Risks

- The provider sandbox does not reproduce every production decline code.

## Changelog

- 2026-07-13: Added the retry plan and recorded idempotency requirements.

Update the track when any of these change:

  • user-visible or system-visible behavior,
  • endpoints, data models, dependencies, or integrations,
  • durable decisions and trade-offs,
  • rollout constraints, migrations, risks, or follow-ups,
  • tests, plans, specifications, or other source-of-truth links.

Keep detailed requirements and designs in their own documents. The feature track should explain what is true now and where to find the proof.

Step 4: Reconcile the Track Before Completion

Before claiming the feature work is complete:

  1. Update the feature track with the actual verified outcome, not only the intended plan.
  2. Update the global index when status, date, links, or notes changed.
  3. Check that every relative Markdown link resolves.
  4. Confirm the track contains current status, source-of-truth links, decisions, risks, and a dated changelog.
  5. Record unresolved blockers or follow-ups explicitly.

…

常见问题

它能替代问题追踪工具吗?

不能,它是对问题追踪工具的补充。它专注于保存某个功能中重要信息的简明记录,而不是罗列每个小任务。

我需要把所有文档都迁移过来吗?

不需要,你可以直接链接已经存在于其他地方的文档。它的目标是轻量化,不需要对现有资料做大规模整理。

“持久记忆”是什么意思?

意思是把功能相关的重要信息以有条理、便于访问的方式保存下来,即使你更换工具或中途停工,这些信息以后依然可用。

详情

作者的原始描述

Maintain durable feature-level memory across AI coding sessions with lightweight Markdown tracks for status, source-of-truth docs, decisions, risks, and changes.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4605
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能