Meta-Cognition 测试套件

Meta-Cognition 测试套件 设计用于区分「普通 AI 回答」vs「元认知追溯回答」的测试用例 设计原则 好的测试用例应该: 普通回答能"解决"问题 - 语法正确,能编译
阅读全文

Rust-Skills Capabilities Summary

Rust-Skills Capabilities Summary Complete capability inventory of the rust-skills Claude Code plugin Overview MetricCount Total Skills31 Background Agents8 Slash Commands18 Unsafe Rules47 Coding Guide
阅读全文

TDD for Rust-Skills

TDD for Rust-Skills Test-Driven Development framework for creating and validating skills. Core Principle "NO SKILL WITHOUT FAILING TEST FIRST" Before creating or modifying a skill, you must: Define a
阅读全文

Forced Eval Hook 原理

Forced Eval Hook 原理 解决 Claude Code Skills 自动触发不可靠的问题 问题背景 Claude 的行为特点 "Claude is so goal focused that it barrels ahead with what it thinks is the best approach.
阅读全文

What Is a Skill?

What Is a Skill? A precise definition based on rust-skills architecture The Wrong Mental Model Skill ≠ Knowledge Database Skill ≠ Documentation Skill ≠ FAQ Collection Skill ≠ Code Snippets Library
阅读全文

Skills 编写最佳实践

Skills 编写最佳实践 基于 rust-skills 项目开发过程中的经验总结 1. CSO (Claude Search Optimization) - 描述优化 问题 Skills 的 description 字段是 Claude 匹配用户问题的关键,但很多
阅读全文

Skill 继承机制

Skill 继承机制 Claude Code Skills 没有原生继承,但可以通过多种方法实现类似效果 问题背景 Claude Code 的 Skills 是独立的: 每个 skill 根据 description 关键词独立触发
阅读全文

Prompt 约束技巧

Prompt 约束技巧 如何通过 Prompt 有效约束大模型行为 核心原理 大模型的行为模式 大模型本质: 概率预测下一个 token 输入: "Rc cannot be sent" 模型思考: P("用 Arc")
阅读全文

Claude Code 配置优先级

Claude Code 配置优先级 理解 CLAUDE.md、Skills、Hooks 的加载顺序和优先级 配置加载顺序 Claude Code 的配置是累加的,不是简单的覆盖。加载顺序如下: 1. ~/.claude/CLAUDE.md
阅读全文

Context Optimization Guide

Context Optimization Guide Rust Skills 上下文优化策略与效果 概述 Rust Skills 采用三种方法优化上下文消耗,综合可节省约 68% 的 token 使用量。 优化方法类型适用场景节省比例
阅读全文