dsh-doctor
asdf17128
Find what your DeepSeek Harness (dsh) patches silently broke — dead patches, config fields dropped by whole-config repla…
PROJECT TOPICS
PROJECT README
A personal repository for collecting, organizing, and reusing Agent Skills.
This repository stores reusable skills for AI agents, coding agents, document generation agents, code review agents, tool-using agents, engineering workflows, context management, and token optimization.
Each skill is organized as an independent directory with clear usage scenarios, activation conditions, execution procedures, constraints, output requirements, and examples.
This repository is not intended to be a simple prompt collection.
Its purpose is to turn reusable agent workflows into structured, maintainable, and verifiable skills.
The main goals are:
In this repository, a skill is a structured capability definition for a specific class of tasks.
A skill usually defines:
A skill is not the same as a one-off prompt. A prompt is usually written for a single interaction, while a skill is designed for long-term reuse, engineering consistency, and stable execution.
Recommended structure:
skills/
├── README.md
├── README-ZH.md
├── framework-first-coding/
│ ├── SKILL.md
│ ├── README.md
│ └── README-ZH.md
├── agent-harness-evaluation-skill/
│ ├── SKILL.md
│ ├── README.md
│ └── README-ZH.md
└── references/
├── skill-template.md
├── writing-guide.md
└── quality-checklist.md
Where:
README.md is the repository-level documentation*/SKILL.md is the core rule file used by the agent*/README.md is the human-readable explanation for developers and maintainersreferences/ contains shared templates, authoring guides, checklists, and reference materialDirectory:
framework-first-coding/
Purpose:
Constrains a coding agent to inspect and reuse existing framework features, dependencies, SDKs, utilities, shared components, and project abstractions before writing custom implementation code.
Suitable for:
Core principle:
Find existing capabilities first. Write new code only when necessary.
This skill helps reduce duplicated implementation, lower token consumption, improve code consistency, and increase maintainability.
Directory:
agent-harness-evaluation-skill/
Purpose:
Systematically evaluates the robustness, reliability, safety, recoverability, context engineering efficiency, and production readiness of AI Agent Harness implementations through deterministic testing, fault injection, chaos scenarios, and reliability metrics.
Suitable for:
Core principle:
Evaluate the execution framework, not the model intelligence.
This skill helps detect reliability gaps before production, prevent duplicate side effects and security violations, validate recovery mechanisms, and enforce production gate criteria.
Each skill should normally contain at least two files:
skill-name/
├── SKILL.md
└── README.md
SKILL.md is the core file read and executed by the agent. It should be clear, actionable, and concise.
Recommended structure:
---
name: skill-name
metadata:
version: "1.0"
category: "category-name"
description: "One-sentence description of when and why to use this skill."
---
# Skill Name
## Purpose
## When to Use
## Inputs
## Execution Procedure
## Output Requirements
## Constraints
## Tool Usage Rules
## Failure Strategy
## Quality Checklist
## Examples
README.md is written for humans. It can explain the background, purpose, suitable scenarios, behavior, and examples in more detail.
Recommended structure:
# Skill Name
## Overview
## Why This Skill Exists
## Suitable Use Cases
## How It Works
## Expected Agent Behavior
## Directory Structure
## Usage
## Examples
## Limitations
## Recommended Pairing
Skill directory names should use lowercase English words and hyphens:
framework-first-coding
minimal-patch-coding
code-review
security-review
document-generation
tool-failure-strategy
Avoid:
FrameworkFirstCoding
framework_first_coding
框架优先编码
skill1
my-skill-new
Naming principles:
Skills can be grouped by task type.
For code generation, modification, refactoring, and review.
Examples:
framework-first-codingminimal-patch-codingcode-reviewsecurity-reviewtest-first-codingdependency-inspectionproject-convention-followingFor agent execution flow, tool use, and task orchestration.
Examples:
tool-use-planningtool-failure-strategymulti-step-task-executionhuman-in-the-loopagent-loop-controlcontext-compactionFor creating, editing, summarizing, and structuring documents.
Examples:
document-generationtechnical-report-writingresearch-summarydocx-processingslide-generationproposal-writingFor search, RAG, evidence extraction, and knowledge-base answering.
Examples:
rag-answeringevidence-based-researchacademic-searchweb-researchsource-grounded-summaryFor evaluation, scoring, checking, and quality control.
Examples:
agent-harness-evaluation-skillbenchmark-designanswer-evaluationrubric-scoringquality-checkregression-test-analysisUse the following template when creating a new skill:
---
name: example-skill
metadata:
version: "1.0"
category: "general"
description: "Use this skill when..."
---
# Example Skill
## Purpose
Describe the purpose of this skill.
## When to Use
Use this skill when:
- Condition 1
- Condition 2
- Condition 3
## Inputs
Expected inputs:
- Input 1
- Input 2
## Execution Procedure
### Step 1: Understand the Task
Clarify the goal, constraints, and expected output.
### Step 2: Inspect Available Context
Check existing files, tools, dependencies, documents, or prior state.
### Step 3: Execute the Task
Follow the defined workflow.
### Step 4: Validate the Result
Check correctness, completeness, safety, and formatting.
## Output Requirements
The output should include:
- Required item 1
- Required item 2
- Required item 3
## Constraints
The agent must:
- Constraint 1
- Constraint 2
The agent must not:
- Forbidden behavior 1
- Forbidden behavior 2
## Failure Strategy
If the task cannot be completed:
1. Explain what failed.
2. Explain what was attempted.
3. Provide the best partial result.
4. Suggest the next safe action.
## Quality Checklist
Before finalizing, check:
- [ ] The task goal is satisfied
- [ ] The output follows the requested format
- [ ] No unnecessary implementation is added
- [ ] Existing tools or context were used properly
- [ ] Risks and limitations are stated when relevant
## Examples
Example usage:
```text
Use this skill to...
## Design Principles
Skills in this repository should follow these principles.
### 1. Actionable
A skill should not only describe abstract principles. It should tell the agent:
- When to use it
- What to do first
- What to do next
- When to stop
- What to do when something fails
- What the output should look like
### 2. Reusable
A skill should apply to a class of tasks, not just one conversation.
Not recommended:
```text
Help me fix this login API this time.
Recommended:
When fixing backend API issues, first check routing, HTTP method, parameter binding, security interception, exception logs, and existing project conventions.
A skill should be able to work with other skills.
Example:
Framework-first Coding Skill
+ Minimal Patch Skill
+ Security Review Skill
+ Test Verification Skill
A skill should include a checklist so the output can be reviewed.
Example:
- Did the agent reuse existing framework capabilities?
- Did the agent avoid duplicated implementation?
- Did the agent follow project conventions?
- Did the agent explain failure causes when relevant?
A skill should reduce unnecessary output.
Recommended practices:
This repository can be used in several ways.
Place a skill directory in a location recognized by Claude Code.
skills/
└── framework-first-coding/
├── SKILL.md
└── README.md
Extract the core rules from SKILL.md into a project-level rule file.
Example:
.cursor/rules/framework-first-coding.mdc
In a custom agent system, a skill can be loaded as a capability declaration or strategy module:
Agent receives task
→ Match skill by description
→ Load SKILL.md
→ Follow execution procedure
→ Validate with checklist
For MCP-enabled agents, skills can constrain tool selection, file reading, code search, build checks, test execution, and failure handling.
When adding a new skill:
SKILL.md.README.md.README.md.Before adding or modifying a skill, check:
In real agent systems, multiple skills can be combined into a complete workflow.
framework-first-coding
+ minimal-patch-coding
+ project-convention-following
+ test-verification
+ security-review
web-research
+ evidence-based-summary
+ source-citation
+ contradiction-check
+ report-writing
document-generation
+ outline-planning
+ style-consistency
+ docx-processing
+ final-quality-check
retrieval-planning
+ query-rewriting
+ evidence-selection
+ answer-grounding
+ hallucination-check
Each skill should maintain its own version number.
Example:
metadata:
version: "1.0"
Suggested versioning:
1.0: Initial usable version1.1: Minor rule adjustment1.2: Added examples or checklist items2.0: Major change to execution flow or design purposePotential skills to add:
This repository manages personally accumulated Agent Skills.
Its core value is:
Turn one-off prompt experience into reusable, composable, maintainable, and verifiable agent capability modules.
By continuously collecting and refining skills, this repository can become a reusable capability library for coding agents, research agents, document agents, MCP agents, and custom Agent OS implementations.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。