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

tasks-spec-update任务规格更新

Agent Skill

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

总安装

582

周安装

24

GitHub Stars

6

下载量

190
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:tasks-spec-update(任务规格更新)
来源仓库:https://github.com/duc01226/easyplatform
仓库路径:skills/tasks-spec-update
安装命令:
npx skills add https://github.com/duc01226/easyplatform --skill tasks-spec-update
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/duc01226/easyplatform --skill tasks-spec-update

简介

tasks-spec-update 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。

  • 适用于任务管理、线索追踪或信息聚合类工作流,帮助缩小搜索范围。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和文件读写能力。
  • 安装前建议核实维护状态,避免触发不必要的联网或命令执行操作。
  • 可结合原始 README 文档进一步了解具体使用方法和限制条件。

SKILL.md

[IMPORTANT] Use TaskCreate to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ask user whether to skip.

Prerequisites: MUST READ .claude/skills/shared/evidence-based-reasoning-protocol.md before executing.

Quick Summary

Goal: Update specifications to match implementation, compare branches, and ensure documentation reflects current state.

Workflow:

  1. Change Discovery — Git-based (diff branches, commits) or pattern-based (find specs, cross-reference with code)
  2. Gap Analysis — Create analysis document comparing Specified vs Implemented, identify gaps, new items, deferred items
  3. Specification Update — Update entities, commands, queries, events, API endpoints with new details
  4. Verification — Cross-reference check (all commands documented?), validation report

Key Rules:

  • Pattern Updates: Entity specs (properties, computed, validation, expressions), Command specs (request/response, validation, side effects, errors), API endpoint specs
  • Systematic: Use bash scripts to find undocumented commands
  • Completeness: Verify all implementation changes are documented
  • Version Control: Update version numbers and change logs

Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof.

Specification Update Workflow

When to Use This Skill

  • Syncing specs with implementation
  • Branch comparison analysis
  • Post-implementation documentation update
  • Feature spec verification

Pre-Flight Checklist

  • Identify specification files to update
  • Determine implementation changes
  • Compare current state vs documented state
  • Plan update strategy

Phase 1: Change Discovery

Git-Based Discovery

# Compare branches
git diff main..feature-branch --name-only

# Get detailed diff
git diff main..feature-branch

# List commits with messages
git log main..feature-branch --oneline

# Find files changed since date
git log --since="2024-01-01" --name-only --oneline

Pattern-Based Discovery

# Find all spec files
find . -name "*.spec.md" -o -name "*-specification.md"

# Find implementation files
grep -r "class.*Command" --include="*.cs" -l

# Cross-reference
grep -r "SaveEmployee" --include="*.md"  # In specs
grep -r "SaveEmployee" --include="*.cs"  # In code

Phase 2: Gap Analysis

Create Analysis Document

# Specification Gap Analysis

## Date: [Date]

## Feature: [Feature Name]

## Implementation Status

| Component                | Specified | Implemented | Gap                    |
| ------------------------ | --------- | ----------- | ---------------------- |
| Entity: Employee         | ✅        | ✅          | None                   |
| Command: SaveEmployee    | ✅        | ✅          | Missing validation doc |
| Query: GetEmployeeList   | ✅        | ✅          | Filters not documented |
| Event: OnEmployeeCreated | ❌        | ✅          | Not in spec            |

## New Implementations (Not in Spec)

1. `BulkUpdateEmployeeCommand` - Added in PR #123
2. `EmployeeExportQuery` - Added for reporting

## Spec Items Not Implemented

1. `EmployeeArchiveCommand` - Deferred to Phase 2
2. `EmployeeAuditTrail` - Pending requirements

## Documentation Updates Needed

1. Add BulkUpdateEmployeeCommand to spec
2. Document new query filters
3. Add event handler documentation

Phase 3: Specification Update

Update Checklist

## Specification Updates

### Entities

- [ ] Update property list
- [ ] Document new computed properties
- [ ] Add validation rules
- [ ] Update relationships

### Commands

- [ ] Add new commands
- [ ] Update validation rules
- [ ] Document side effects
- [ ] Add error codes

### Queries

- [ ] Document new filters
- [ ] Update response schema
- [ ] Add pagination details

### Events

- [ ] Document entity events
- [ ] List event handlers
- [ ] Describe cross-service effects

### API Endpoints

- [ ] Add new endpoints
- [ ] Update request/response
- [ ] Document auth requirements

Pattern 1: Entity Specification Update

# Employee Entity Specification

## Properties

| Property    | Type           | Required | Description                        |
| ----------- | -------------- | -------- | ---------------------------------- |
| Id          | string         | Yes      | Unique identifier (ULID)           |
| FullName    | string         | Yes      | Employee full name (max 200)       |
| Email       | string         | Yes      | Email address (unique per company) |
| Status      | EmployeeStatus | Yes      | Current employment status          |
| PhoneNumber | string         | No       | Contact phone (NEW in v2.1)        |

## Computed Properties

| Property    | Calculation                    |
| ----------- | ------------------------------ |
| IsActive    | Status == Active && !IsDeleted |
| DisplayName | `{Code} - {FullName}`          |

## Validation Rules

1. FullName: Required, max 200 characters
2. Email: Required, valid email format, unique within company
3. PhoneNumber: Optional, valid phone format (NEW in v2.1)

## Static Expressions

| Expression                     | Purpose                 |
| ------------------------------ | ----------------------- |
| UniqueExpr(companyId, userId)  | Find unique employee    |
| ActiveInCompanyExpr(companyId) | Filter active employees |
| SearchExpr(term)               | Full-text search        |

Pattern 2: Command Specification Update

# SaveEmployeeCommand Specification

## Overview

Creates or updates an employee record.

## Request

{ "id": "string | null", "fullName": "string", "email": "string", "status": "Active | Inactive | Terminated", "phoneNumber": "string | null" }

Validation

FieldRuleError Code
fullNameRequiredEMPLOYEE_NAME_REQUIRED
fullNameMax 200 charsEMPLOYEE_NAME_TOO_LONG
emailRequiredEMPLOYEE_EMAIL_REQUIRED
emailValid formatEMPLOYEE_EMAIL_INVALID
emailUnique in companyEMPLOYEE_EMAIL_EXISTS

Response

{
    "employee": {
        "id": "string",
        "fullName": "string",
        "email": "string",
        "status": "string"
    }
}

Side Effects

  1. Entity Event: Entity event raised (search for: project entity event class)
  2. Cross-Service Sync: Employee synced to target service
  3. Notification: Welcome email sent (create only)

Error Codes

CodeHTTPDescription
EMPLOYEE_NOT_FOUND404Employee ID not found
EMPLOYEE_EMAIL_EXISTS400Email already in use
EMPLOYEE_VALIDATION_FAILED400Validation error
## Pattern 3: API Endpoint Specification

Employee API Endpoints

Base URL

/api/Employee

Endpoints

GET /api/Employee

List employees with filtering and pagination.

Query Parameters

ParameterTypeDescription
searchTextstringFull-text search
statusesarrayFilter by status
skipCountintPagination offset
maxResultCountintPage size (max 100)

Response

{
  "items": [...],
  "totalCount": 100
}

POST /api/Employee

Create or update employee.

Request Body See SaveEmployeeCommand specification.

DELETE /api/Employee/{id}

Soft delete an employee.

Path Parameters

ParameterTypeDescription
idstringEmployee ID

Response: 204 No Content

Authentication

All endpoints require authentication. Use Authorization: Bearer {token} header.

Authorization

EndpointRequired Role
GETEmployee, Manager, Admin
POSTManager, Admin
DELETEAdmin
## Phase 4: Verification

### Cross-Reference Check

Verify all commands are documented

for cmd in $(grep -r "class.*Command" --include="*.cs" -l); do name=$(grep -o "class [A-Za-z]*Command" "$cmd" | head -1) if ! grep -q "$name" docs/specifications/*.md; then echo "Missing in spec: $name" fi done


### Validation Report

Specification Verification Report

Date: [Date]

Verified By: AI

Summary

  • Total Specs: 15
  • Up to Date: 12
  • Needs Update: 3
  • Missing: 0

Issues Found

Outdated Specifications

  1. Employee.spec.md

- Missing: PhoneNumber property - Missing: BulkUpdate command

  1. API-Reference.md

- Missing: /export endpoint - Outdated: Error codes

Recommendations

  1. Update Employee.spec.md with new properties
  2. Add BulkUpdateEmployeeCommand specification
  3. Regenerate API reference from OpenAPI

## Verification Checklist

- All implementation changes identified
- Gap analysis completed
- Specifications updated
- Cross-references verified
- Version numbers updated
- Change log updated

## Related

- `tasks-documentation`
- `documentation`

---

**IMPORTANT Task Planning Notes (MUST FOLLOW)**

- Always plan and break work into many small todo tasks
- Always add a final review todo task to verify work quality and identify fixes/enhancements

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

26.05%
按下载量换算49

windsurf

24.63%
按下载量换算47

OpenCode

16.72%
按下载量换算32

Codex

12.75%
按下载量换算24

Antigravity

7.94%
按下载量换算15

Gemini CLI

3.06%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills