Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

finalize-work-item完成工作项目

Agent Skill

finalize-work-item 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

214

周安装

9

GitHub Stars

公开资料未说明

下载量

75
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:finalize-work-item(完成工作项目)
来源仓库:https://github.com/squirrel289/pax
仓库路径:skills/finalize-work-item
安装命令:
npx skills add https://github.com/squirrel289/pax --skill finalize-work-item
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/squirrel289/pax --skill finalize-work-item

简介

用于查找、检索和筛选相关信息。finalize-work-item 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合在特定任务场景下快速定位候选结果。
  • 可结合来源仓库和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围和维护状态。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 注意检查是否会触发联网或文件操作。

SKILL.md

Finalize Work Item

Overview

Formally complete a work item by verifying all acceptance criteria, recording final metrics, and archiving it from active backlog to historical record. Finalizing work items keeps the active backlog lean and creates an audit trail of completed work.

When to Use

Finalize a work item when:

  • Implementation is complete and tested
  • Code is reviewed and merged to main
  • All acceptance criteria are verified
  • Test results are recorded
  • Actual hours are finalized
  • Ready to close and archive

When NOT to Use

Don't finalize if:

  • Work is still in progress (use update-work-item instead)
  • Tests are still failing or pending
  • Code review is incomplete
  • Acceptance criteria not fully met
  • Successor work needed (create #2 first, then link)

Finalization Checklist

Before finalizing, verify:

  • Status is completed
  • All acceptance criteria checked/verified
  • actual_hours recorded (final tally)
  • completed_date set (YYYY-MM-DD)
  • test_results documented (URL or summary)
  • related_commit includes all implementation commits
  • Code merged to main
  • No open PRs or pending reviews
  • Dependencies listed for successor items (if any)
  • notes summarize outcome and any follow-ups

Workflow: Finalizing a Work Item

1. Verify Completion

Review the work item's acceptance criteria:

## Acceptance Criteria

- [x] FilterAdapter interface implemented and documented
- [x] Core filters (selectattr, map, join, default) working
- [x] Unit tests cover all filter functions (95% coverage)
- [x] Integration tests with renderer pass
- [x] Type annotations complete and validated by mypy
- [x] Code review approved (PR #247)
- [x] Merged to main

All boxes should be checked (✓).

2. Finalize Frontmatter

Ensure all metadata is complete with appropriate state_reason:

---
title: "Implement FilterAdapter"
id: 60
status: completed
state_reason: success
priority: high
complexity: medium
estimated_hours: 20
actual_hours: 22  # Final recorded hours
completed_date: 2026-02-15  # Completion date
related_commit:
  - 6d8c044  # feat(sdk): FilterAdapter interface
  - f00459b  # feat(filters): core filters (selectattr, map, join, default)
  - a1b2c3d  # test(filters): unit and integration tests
  - c4d5e6f  # docs: add filter usage to ADAPTER_SPEC.md
test_results: "https://github.com/squirrel289/temple/actions/runs/98765432"
dependencies: []
related_backlog: []
notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      Completed successfully. All 4 core filters implemented with type signatures.

      Test results:
      - 102 tests pass
      - 0 tests fail
      - Coverage 95%
      - CI complete

      Merged to main in commit c4d5e6f.

      Follow-up work:
      - Custom filters via plugin interface (proposed #61)
      - Filter documentation and examples (proposed #62)
---

State Reason Values

Set state_reason to document why work is complete:

state_reasonMeaningUse When
successCompleted successfullyAll acceptance criteria met, fully tested, merged
obsoleteNo longer relevantMarket changed, approach outdated, not needed anymore
redundantDuplicateSame work done in another item (reference it)
supersededMade mootDifferent item solves it better (reference it)
cancelledWork stoppedStopped before completion (note why, may save effort for later)

Key requirements:

  • status: completed (no other value)
  • state_reason: success | obsolete | redundant | superseded | cancelled
  • actual_hours: <number> (not null)
  • completed_date: YYYY-MM-DD
  • test_results: <URL or summary> (required for success, optional for other reasons)
  • related_commit: (required for success, optional for other reasons)

3. Record Final Notes

Add final context in notes:

notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      ## Completion Summary

      Successfully implemented FilterAdapter SDK and core filters.

      ### Deliverables
      - temple/sdk/adapter.py extended with FilterAdapter class
      - temple/sdk/filters.py with selectattr, map, join, default
      - tests/test_filters.py with 47 new tests
      - docs/ADAPTER_SPEC.md with filter documentation

      ### Metrics
      - Estimated: 20 hours
      - Actual: 22 hours (slight scope expansion for validation layer)
      - Test coverage: 95%
      - Tests passing: 102/102

      ### Follow-ups
      - Plugin architecture for custom filters (proposed #61)
      - Advanced filter examples (proposed #62)
      - Performance benchmarking (tracked in asv/)

      Ready for release in v1.0 milestone.

4. Clean Up Feature Branch

Before archiving, clean up the feature branch associated with this work item:

# Invoked automatically by finalize-work-item
branch-management cleanup feature/60-filter-adapter --delete-remote=true
  • Delete local feature branch (already merged to main)
  • Delete remote branch on origin
  • Prune remote tracking branches
  • Verify no dangling references

5. Archive the File

Move the file from /backlog/ to /backlog/archive/:

Before:

/backlog/60_implement_filter_adapter.md

After:

/backlog/archive/60_implement_filter_adapter.md

6. Update Index (if applicable)

If the backlog has an index file (template.md, README.md), update it to move the item from active to completed section.

Example, in /backlog/temple.md:

## Active Work Items (In Progress)

- [[55_adapter_spec_impl.md]] - Implement Adapter SDK
- [[56_jinja2_adapter_prototype.md]] - Jinja2 adapter prototype

## Completed Work Items (Archived)

- [[60_implement_filter_adapter.md]] ✓ (2026-02-15)
- [[54_complete_temple_native.md]] ✓ (2026-02-10)

Examples

Example 1: Successful Feature Completion

Original work item:

---
title: "Implement FilterAdapter"
id: 60
status: not_started
estimated_hours: 20
actual_hours: null
completed_date: null
dependencies:
  - "[[54_complete_temple_native.md]]"
---

Finalized:

---
title: "Implement FilterAdapter"
id: 60
status: completed
state_reason: success
estimated_hours: 20
actual_hours: 22
completed_date: 2026-02-15
test_results: "https://github.com/squirrel289/temple/actions/runs/98765432"
related_commit:
  - 6d8c044
  - f00459b
  - a1b2c3d
  - c4d5e6f
dependencies: []
notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      ✓ Completed successfully

      All 4 core filters implemented, tested, and merged.
      Follow-up items #61 (custom filters) and #62 (examples) created.
---

File moved: backlog/60_implement_filter_adapter.mdbacklog/archive/60_implement_filter_adapter.md

Example 2: Partially Completed Spike

Original:

---
title: "Evaluate expression engines"
id: 61
status: in_progress
estimated_hours: 16
actual_hours: 14
---

## Goal

Research three expression engine approaches for advanced data filtering.

## Tasks

1. **JMESPath evaluation** ✓
   - Mature library with JSON support
   - Limited type system control
   - Conclusion: Good but not ideal for typed filters

2. **Custom recursive descent parser** ✓
   - Flexible, integrates with type system
   - Requires maintenance burden
   - Conclusion: Best option for our needs

3. **meval Python evaluator** (deferred)
   - Lightweight but less type-aware
   - Deferred to future evaluation

Finalized as partial completion (some criteria deferred):

---
title: "Evaluate expression engines"
id: 61
status: completed
state_reason: success
estimated_hours: 16
actual_hours: 14
completed_date: 2026-02-12
test_results: |
  Evaluation document: docs/expression_engine_evaluation.md
  Recommend: Custom parser (option 2)
notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      ✓ Completed (spike, scope limited)

      Evaluated JMESPath and custom parser options in depth.
      Deferred meval evaluation (low priority).

      Recommendation: Build custom recursive descent parser for type-aware expressions.
      This decision will guide implementation in #62.

      Deliverable: Expression engine evaluation report (docs/expression_engine_evaluation.md)
---

Example 3: Completed with Known Limitations

Work item:

---
title: "Implement base linting integration"
id: 57
status: completed
state_reason: success
estimated_hours: 12
actual_hours: 11
completed_date: 2026-02-09
test_results: "91 tests pass, 2 known failures in edge cases"
related_commit:
  - abc1234  # feat(linter): integrate external base format linters
  - def5678  # test: add integration tests for JSON/YAML/Markdown
notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      ✓ Completed with known limitations

      Core functionality implemented: JSON, YAML, Markdown linting integrated.

      Known issues (defer to follow-up):
      - HTML linting incomplete (requires additional parser setup) → tracked in #58
      - Performance: Large files (>10MB) slow (tracked in #63)

      Follow-up items:
      - HTML linting completion (#58)
      - Performance optimization (#63)

      Tests: 91 pass, 2 skip (HTML-related), 0 fail
      Coverage: 87%
---

Example 4: Completed but Superseded

Work item:

---
title: "Evaluate TOML support for schemas"
id: 52
status: completed
state_reason: obsolete
completed_date: 2026-02-05
actual_hours: 6
notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      ✗ Marked obsolete

      Researched TOML schema support. Concluded that JSON Schema is sufficient
      and TOML adds minimal value (most users prefer JSON).

      Decision: Defer TOML support indefinitely.
      Superseded by: Decision in ADR-004 to focus on JSON Schema only.

      This work is archived for reference but no follow-up planned.
---

Completion Scenarios

Scenario A: Successful Completion

All acceptance criteria met, no follow-ups:

status: completed
state_reason: success
notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      ✓ Completed successfully
      All acceptance criteria verified.
      No follow-up work required.

Move to archive.

Scenario B: Success with Follow-ups

Work complete, but identified future improvements:

status: completed
state_reason: success
notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      ✓ Completed successfully

      Follow-up work identified:
      - Performance optimization #63
      - HTML linting completion #58

Create the follow-up items (with dependencies linking back), then move to archive.

Scenario C: Made Obsolete

Market changed, approach outdated, or decision made to not pursue:

status: completed
state_reason: obsolete
notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      ✗ Marked obsolete

      Reason: Market moved away from this approach.
      Decision in ADR-005 to focus on alternative solution.

      Related item: #72 (new approach)

Move to archive for historical reference.

Scenario D: Redundant/Duplicate

Same work done elsewhere:

status: completed
state_reason: redundant
notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      ✗ Marked redundant

      Duplicate of: [[63_similar_feature_name.md]]

      This item identified same problem independently.
      Resolution implemented in #63 instead.
      Archiving to avoid confusion.

Move to archive with clear reference to canonical item.

Scenario E: Superseded

Another item solves it better or more broadly:

status: completed
state_reason: superseded
notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      ✗ Marked superseded

      Original scope: Implement filter validation only
      Superseded by: [[65_unified_expression_validation.md]]

      Item #65 provides validation for all expressions, making this
      narrower approach unnecessary. Solution rolled up.

Move to archive with reference to superseding item.

Scenario F: Cancelled

Work stopped before completion (may resume later):

status: completed
state_reason: cancelled
actual_hours: 6  # Partial work
notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      ✗ Cancelled

      Reason: Dependency on ADR-006 decision not made in time for release.
      Can resume after ADR resolved.

      Blocker: Waiting for architecture decision on expression language.
      Status: ADR-006 in draft, expected resolution by 2026-03-15.

      Work done:
      - Requirements captured in docs/expression-requirements.md
      - Proof-of-concept in branch feature/expressions-poc

Move to archive with clear context for anyone who needs to resume.

Best Practices

1. Link Related Work

If this item enables follow-ups, create those items first and link them:

notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      Follow-up items created:
      - [[61_advanced_filters.md]]
      - [[62_filter_documentation.md]]

2. Document Lessons Learned

In notes, capture insights for future similar work:

notes:
  - timestamp: 2024-06-01T12:00:00Z
    user: @john
    note: |
      ## Lessons Learned

      - Type annotation setup took longer than expected (3 extra hours)
        → Future features should allocate more time for type validation
      - Early integration with CI saved debugging time
        → Recommend CI integration in design phase

3. Consistent Completed Dates

Use consistent date format: YYYY-MM-DD (ISO 8601)

completed_date: 2026-02-15  # Good
completed_date: "Feb 15, 2026"  # Avoid

4. Comprehensive Related Commits

Link all commits that implement this work:

related_commit:
  - 6d8c044  # Initial design
  - f00459b  # Feature implementation
  - a1b2c3d  # Bug fixes from review
  - c4d5e6f  # Documentation updates
  - d6e7f8g  # Performance tuning

Order chronologically. This creates an audit trail.

5. Accurate Effort Recording

Final actual_hours should include all time:

estimated_hours: 20
actual_hours: 22  # Include design review, testing, docs, PR feedback

This helps calibrate estimates for future similar work.

Archiving Process

File Operations

# Move file to archive
mv /backlog/<number>_<slug>.md /backlog/archive/<number>_<slug>.md

# Update index if applicable
# Edit /backlog/temple.md or similar

Push Finalized Changes and Create PR

  1. Push all finalized changes to the remote repository:

- Ensure all changes to the work item file, archive location, and index are staged and committed. - Example: git add backlog/archive/<number>_<slug>.md backlog/temple.md git commit -m "chore: archive completed backlog item #<number>" git push origin <current-branch>

  1. If the work was completed on a feature branch, create a Pull Request (PR) to merge the finalized changes into the main branch:

- Open a PR via GitHub or CLI: gh pr create --base main --head <current-branch> --title "Finalize work item #<number>" --body "Finalization and archival of work item #<number>" - Ensure the PR includes all related work item changes and references the work item number in the description.

  1. Merge the PR after review and CI pass to complete the archival process.

Quick Checklist

## Finalization Checklist for Item #<number>

- [ ] Implementation complete and tested (or decision made to stop work)
- [ ] All acceptance criteria verified ✓ (or marked with state_reason)
- [ ] `status: completed`
- [ ] `state_reason: success | obsolete | redundant | superseded | cancelled`
- [ ] `actual_hours` recorded
- [ ] `completed_date` set (YYYY-MM-DD)
- [ ] `test_results` documented (if applicable)
- [ ] `related_commit` lists all implementation commits (if applicable)
- [ ] Code merged to main (if applicable)
- [ ] Feature branch cleaned up (via feature-branch-management cleanup)
- [ ] `notes` summarize outcome and explain state_reason
- [ ] Follow-up items created (if applicable and linked in notes)
- [ ] File moved to `/backlog/archive/`
- [ ] Index updated (if applicable)

Related Skills

  • create-work-item: For creating new work items
  • update-work-item: For tracking progress during implementation
  • feature-branch-management: For cleaning up feature branch during archival
  • merge-pr: For merging PR before finalization
  • process-pr: For end-to-end PR workflow before finalization
  • git-commit: For recording commits that link to work items

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.35%
按下载量换算27

Claude

30.33%
按下载量换算23

Cursor

18.59%
按下载量换算14

Gemini CLI

9.68%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills