core-protocols

core-protocols: For systematically debugging faults, following a workflow of search first, then analysis, and finally proposing verified fixes. Must be used when a user reports "error", "bug", "not working", "failure", "crash", stack traces, exception messages, or any troubleshooting scenario. Trigger conditions include examples such as TypeError, ImportError, "undefined is not a function", segfault, panic, corruption, unexpected behavior, regressions, failure, exceptions, traceback, stack traces, etc. Enforces confidence levels and an output template and forbids guessing solutions without investigation.

Last repository push
GitHub Stars
125
Forks
35
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "core-protocols" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-5112eead4ce8800d1162d0c8a8d6b41d3c86d7de190a032f2a0cf488c653e5eb. Verify the upstream source and version against https://github.com/Aedelon/claude-code-blueprint before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

core-protocols: For systematically debugging faults, following a workflow of search first, then analysis, and finally proposing verified fixes. Must be used when a user reports "error", "bug", "not working", "failure", "crash", stack traces, exception messages, or any troubleshooting scenario. Trigger conditions include examples such as TypeError, ImportError, "undefined is not a function", segfault, panic, corruption, unexpected behavior, regressions, failure, exceptions, traceback, stack traces, etc. Enforces confidence levels and an output template and forbids guessing solutions without investigation.

0 Downloads

Introduction source: third_party · Aedelon · 0.0.1 Reference

SkillPi interpretation

Tasks
|-
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: core-protocols
description: |-
  Debug errors systematically by searching first, then analyzing, then proposing verified solutions.
  MUST BE USED when user reports: "error", "bug", "doesn't work", "fails", "crash", stack traces,
  exception messages, or any troubleshooting scenario.
  Triggers: "TypeError", "ImportError", "undefined is not a function", "segfault", "panic",
  "broken", "not working", "unexpected behavior", "regression", "failing", "exception",
  "traceback", "stack trace", "debug this", "why does this fail", "help me fix".
  Also enforces confidence levels and output templates. Prevents guessing solutions without research.
allowed-tools:
  - WebSearch
  - WebFetch
  - mcp__context7__resolve-library-id
  - mcp__context7__get-library-docs
  - mcp__fetch__fetch
  - Read
  - Grep
  - Glob

Core Protocols

1. Debugging Protocol

Trigger Conditions

Activate when:

  • User reports an error or bug
  • Code doesn't work as expected
  • Build/test failures occur
  • Stack traces or error messages appear

MANDATORY Sequence

NEVER propose solutions before completing Steps 1-2.

Step 1: SEARCH FIRST

1. Extract EXACT error message
2. WebSearch: "[error message] [language/framework] [version]"
3. Context7 if library-related:
   - mcp__context7__resolve-library-id(libraryName)
   - mcp__context7__get-library-docs(id, topic: "error")
4. Look for GitHub issues / StackOverflow

Step 2: ANALYZE

1. Identify ROOT CAUSE (not symptoms)
2. Check version compatibility
3. Isolate the problem
4. Check changelogs for breaking changes

Step 3: VERIFIED SOLUTION

1. Cite SOURCE of solution
2. State CONFIDENCE level
3. Propose ALTERNATIVES if uncertain
4. Include VALIDATION command

Error Type Quick Reference

Error Type First Action
Library/API error Context7 lookup
Runtime error WebSearch exact message
Build error Check versions, config
Type error Read type definitions
Import error Check package installation

2. Confidence Assessment

Levels

Level Criteria Action
HIGH Verified via tool, 2+ sources State source
MEDIUM Single source, partial verification Add caveat
LOW Memory only, no verification Warn explicitly
UNKNOWN Cannot assess Say "I don't know"

Verification Methods

Libraries/APIs: Context7 → cross-reference docs → HIGH if verified Current Events: WebSearch 2024-2025 → multiple sources → HIGH if recent Best Practices: Official docs → community consensus → MEDIUM-HIGH

Mandatory Warnings

Topic Warning
Pricing "Verify at official URL"
Rate limits "Check your dashboard"
New features "As of [DATE], may have changed"
Model IDs "Verify current availability"

3. Output Templates

Code Response

**Intent**: [1-2 sentences]

\`\`\`[language]
[code with comments]
\`\`\`

**Validation**: `[command]`
**Dependencies**: [if new]
**Confidence**: [LEVEL] - [source]

Research Response

## Summary
[3-5 sentences max]

## Sources
1. [Author (Year). Title. DOI/URL]

**Confidence**: [LEVEL] - [justification]
**Limitations**: [what couldn't be verified]

Diagnostic Response

## Problem Identified
[1-2 sentences]

## Root Cause
[Technical explanation]
**Source**: [reference]

## Solution
\`\`\`[language]
[fix]
\`\`\`

## Validation
\`\`\`bash
[command]
\`\`\`

**Confidence**: [LEVEL]
**Prevention**: [how to avoid]

Creative Prompt Response

**Prompt [Tool]**:
[ready-to-use prompt]

**Parameters**: [key settings]
**Variations**: [alternatives]

Anti-Patterns (FORBIDDEN)

  • Proposing solutions without searching first
  • Guessing based on similar-sounding errors
  • Omitting confidence levels
  • Skipping validation commands
  • Ignoring version information

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value82/100

Highlights

  • 提供系统化的错误调试流程,覆盖搜索、分析、验证完整闭环
  • 适用于广泛的开发调试场景,实用价值高
Trigger Precision95/100

Highlights

  • 触发词覆盖全面,包括多种错误类型和调试场景关键词
  • 边界清晰,能有效识别调试需求
Structure and Standards98/100

Highlights

  • 文档结构清晰,分协议、置信度评估、输出模板等部分
  • 步骤明确,有详细的执行流程和模板示例
Execution Reliability92/100

Highlights

  • 工具使用明确,参数规范,覆盖主要异常处理流程
  • 置信度分级合理,有验证机制
Evidence Verifiability (mean of the first four)92/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.