Skip to main content

developer-workflow

Manage skill updates, patches, and versioning for the Family Doctor suite. Use when updating skills, creating new modules, managing changelog, or handling skill version changes. Triggers on "update skill", "add new module", "version change", "changelog".

来源信息

仓库
Yungho/family-doctor
最近来源活动
2026年3月21日 07:46
检测到的 SKILL.md 语言
英语
星标
2
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
developer-workflow
description
Manage skill updates, patches, and versioning for the Family Doctor suite. Use when updating skills, creating new modules, managing changelog, or handling skill version changes. Triggers on "update skill", "add new module", "version change", "changelog".
allowed-tools
["bash","glob","read"]
version
1.0.0
# Developer Workflow Manage patches, versioning, and changelog for the Family Doctor skill suite. ## When to Use - Updating any skill file (SKILL.md) - Adding a new skill module - Managing version numbers - Writing changelog entries - Creating patch documentation ## Version Numbering Follow semantic versioning: `MAJOR.MINOR.PATCH` - **MAJOR**: Breaking changes to routing or output contracts - **MINOR**: New features, new skills, new capabilities - **PATCH**: Bug fixes, documentation updates ## How to Execute ### Before Any Change 1. Read current SKILL.md to understand the existing structure 2. Read CHANGELOG.md (if exists) 3. Identify the version number to update ### After a Change 1. Update version in SKILL.md frontmatter (`version: X.Y.Z`) 2. Add changelog entry to CHANGELOG.md 3. Document what changed and why ## Changelog Entry Format ```markdown ## [X.Y.Z] - YYYY-MM-DD ### Added - [Skill]: description of new feature ### Changed - [Skill]: description of change ### Fixed - [Skill]: description of fix ### Security - [Skill]: security-related change ``` ## Skill File Structure Each skill follows this pattern: ``` skill-name/ ├── SKILL.md # Required: name, description, allowed-tools, instructions ├── references/ # Optional: reference docs ├── scripts/ # Optional: executable scripts └── evals/ # Optional: test cases ``` ### SKILL.md Frontmatter ```yaml --- name: skill-name description: One-line description. Triggers on keywords. allowed-tools: [tool1, tool2] --- ``` ## Testing Checklist Before committing changes: - [ ] SKILL.md has valid YAML frontmatter - [ ] `name` field matches directory name - [ ] `description` includes trigger keywords - [ ] `allowed-tools` lists required tools - [ ] All skill references are correct - [ ] CHANGELOG updated - [ ] Version number bumped ## Rollback If a change causes problems: 1. Revert SKILL.md to previous version 2. Revert version number 3. Do NOT retry the same change without understanding the failure 4. Document the failure in CHANGELOG ## Safety Rules - **No retry on failure**: If patch fails, rollback and report - **Backup before change**: Snapshot current state - **Atomic operations**: All-or-nothing patch application - **Audit trail**: Every change logged with timestamp
在 GitHub 查看