Token导航 LogoToken导航TokenDH.com
AI 工具需要联网github未标认证来源可访问clear审计异常

update-migration-log更新迁移日志

Agent Skill

update-migration-log 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

196

周安装

8

GitHub Stars

1

下载量

63
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/dudusoar/vrp-toolkit --skill update-migration-log

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。
  • update-migration-log 属于AI 工具类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Migration Logger

Log detailed migration history to MIGRATION_LOG.md.

Core Responsibility

Log to MIGRATION_LOG.md ONLY - This skill:

  • ✅ Updates: MIGRATION_LOG.md
  • ❌ Does NOT modify: CLAUDE.md, TASK_BOARD.md, or other files

Clear separation:

  • update-migration-log → Logs migration details to MIGRATION_LOG.md
  • update-task-board → Updates TASK_BOARD.md based on logs
  • CLAUDE.md → Entry point, rarely modified

When to Use

Use this skill after:

  • Completing a file migration
  • Recording migration issues and solutions
  • User asks to "log migration" or "update migration log"

Do NOT use for:

  • Updating task status (use update-task-board)
  • Updating CLAUDE.md (handled separately)
  • General task completion (use update-task-board)

Migration Entry Template

Use this template for all migration entries:

### YYYY-MM-DD - [Original File] → [New Location]

**Status:** ✅ Completed / 🚧 In Progress / ⚠️ Issues
**Time Spent:** [e.g., 45 minutes]
**Complexity:** Low / Medium / High

**Source:** `[path/to/original/file.py]`
**Destination:** `[path/to/new/file.py]`

#### 📋 Migration Summary
- **Original Purpose:** [Brief description]
- **Target Architecture Layer:** [Problem/Algorithm/Data/Visualization]
- **Key Changes Made:** [2-3 sentence overview]

#### 🔧 Key Changes
- **Extracted hardcoded values:** [What was parameterized]
- **Decoupled from paper logic:** [How generalized]
- **Added/improved:** [Docstrings, type hints, etc.]

#### ⚠️ Issues & Solutions
**Issue 1:** [Description]
- **Solution:** [Fix implemented]
- **Impact:** [Effect on migration]

#### ✅ Verification
- [x] Code compilation
- [x] Import tests
- [ ] Runtime tests (if environment available)

#### 📝 Notes
- [Any important observations]

MIGRATION_LOG.md Structure

Required Sections

1. Header

# VRP Toolkit - Migration Log

**Last Updated:** YYYY-MM-DD
**Total Files Migrated:** X/9

2. Migration Progress Summary

## 📊 Migration Progress Summary

| Category | Completed | Total | Progress |
|----------|-----------|-------|----------|
| Core Files | X | 9 | XX% |

3. Migration History (newest first)

## 📜 Migration History

### YYYY-MM-DD - file.py → new/location.py
[Entry details...]

Workflow

Step 1: Prepare Entry

Gather information about the migration:

  • Original file location
  • New file location
  • Changes made
  • Issues encountered
  • Time spent
  • Complexity level

Step 2: Write Entry

  1. Use migration entry template
  2. Fill in all sections
  3. Be specific about changes and issues
  4. Include verification checklist results

Step 3: Update MIGRATION_LOG.md

  1. Update "Last Updated" date
  2. Update "Total Files Migrated" count
  3. Update progress table percentages
  4. Add entry to top of "Migration History"
  5. Keep entries in reverse chronological order (newest first)

Step 4: Save

No further action needed - other skills will read this log.

Entry Guidelines

Summary Section

Be concise but informative:

  • Original purpose: 1 sentence
  • Target layer: One of Problem/Algorithm/Data/Visualization
  • Key changes: 2-3 sentences covering main refactoring

Example:

#### 📋 Migration Summary
- **Original Purpose:** Instance class for PDPTW with battery constraints
- **Target Architecture Layer:** Problem
- **Key Changes Made:** Extracted hardcoded depot location and vehicle capacity into parameters. Separated solution validation from instance definition. Added type hints and comprehensive docstrings.

Key Changes Section

List specific technical changes:

  • Parameters extracted from hardcoded values
  • Decoupling from paper-specific logic
  • Documentation improvements
  • API changes

Example:

#### 🔧 Key Changes
- **Extracted hardcoded values:** Depot location (0,0), vehicle capacity (15), max battery (100)
- **Decoupled from paper logic:** Removed SISR-specific validation, generalized time window checks
- **Added/improved:** Full docstrings for all public methods, type hints for function signatures

Issues & Solutions Section

Document problems encountered:

  • Import errors
  • Circular dependencies
  • API incompatibilities
  • Logic errors

For each issue:

  • Clear description
  • Solution implemented
  • Impact on migration

Example:

#### ⚠️ Issues & Solutions
**Issue 1:** Circular import between Instance and Solution classes
- **Solution:** Moved Solution to separate module, used TYPE_CHECKING for type hints
- **Impact:** Required restructuring module organization

**Issue 2:** Hardcoded file paths in data loading
- **Solution:** Added config parameter for data directory path
- **Impact:** Minor - added one parameter to constructor

Verification Section

Checklist items:

  • Code compilation (no syntax errors)
  • Import tests (can import without errors)
  • Runtime tests (if applicable)
  • Tutorial compatibility (if applicable)

Mark items complete only when verified.

Integration with Other Skills

Read by:

  • update-task-board - Uses entries to update TASK_BOARD.md
  • build-session-context - Shows recent migrations
  • manage-skills - Reads for project history

Does NOT interact with:

  • CLAUDE.md (not this skill's job)
  • TASK_BOARD.md (update-task-board handles)

Example Entry

### 2026-01-01 - instance.py → vrp_toolkit/problems/pdptw.py

**Status:** ✅ Completed
**Time Spent:** 2 hours
**Complexity:** High

**Source:** `SDR_stochastic/new version/instance.py`
**Destination:** `vrp-toolkit/vrp_toolkit/problems/pdptw.py`

#### 📋 Migration Summary
- **Original Purpose:** PDPTW instance class with battery constraints for SDR paper
- **Target Architecture Layer:** Problem
- **Key Changes Made:** Extracted all hardcoded values (depot, capacity, battery) into parameters. Separated instance definition from solving logic. Added comprehensive type hints and docstrings following Google style.

#### 🔧 Key Changes
- **Extracted hardcoded values:** Depot (0,0), vehicle capacity 15, max battery 100, charging rate 2.0
- **Decoupled from paper logic:** Removed SISR-specific validation, separated battery simulation from instance
- **Added/improved:** Complete docstrings, type hints, parameter validation in constructor

#### ⚠️ Issues & Solutions
**Issue 1:** Circular dependency with Solution class
- **Solution:** Moved Solution to separate module, used forward references
- **Impact:** Created cleaner module structure

**Issue 2:** Time window validation assumed specific format
- **Solution:** Generalized validation to accept any numeric time windows
- **Impact:** None - more flexible API

#### ✅ Verification
- [x] Code compilation
- [x] Import tests
- [x] Runtime tests with sample data
- [x] Tutorial compatibility verified

#### 📝 Notes
- Battery constraint logic may need future generalization for other problems
- Consider adding battery capacity as instance parameter vs vehicle parameter

Maintenance Notes

Keep MIGRATION_LOG.md:

  • Chronologically ordered (newest first)
  • Detailed but focused
  • Consistent formatting
  • Evidence of progress

Update frequency:

  • After each migration completes
  • When significant issues are resolved
  • When migration approach changes

File References

  • Manages: .claude/MIGRATION_LOG.md
  • Does NOT modify: .claude/CLAUDE.md, .claude/TASK_BOARD.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

27.53%
按下载量换算17

windsurf

23.5%
按下载量换算15

trae

18.25%
按下载量换算11

OpenCode

15.17%
按下载量换算10

Codex

7.89%
按下载量换算5

github-copilot

4.14%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills