negative-contrastive-framing

通过展示“不是什么”来定义概念、质量标准和边界——利用反目标、近似错误示例和失败模式,在正面定义本身存在歧义时,建立清晰的决策标准。适用于澄清模糊边界、定义质量标准、通过反例教学、预防常见错误、设定设计护栏、区分相似概念、通过反模式细化需求,或当用户提及近似错误示例、反目标、不应做的事、负面示例、反例或边界澄清时。

仓库最近推送
GitHub Stars
206
Forks
28
Issues / PRs
3

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "negative-contrastive-framing":https://skillpi.com/zh/skills/deepskill-e60ea04c01ebad96bf75d45db99e4b12f8acf0488ed749be2b3f92807d46bbb7。安装前核对上游来源和版本:https://github.com/lyndonkl/claude。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

通过展示“不是什么”来定义概念、质量标准和边界——利用反目标、近似错误示例和失败模式,在正面定义本身存在歧义时,建立清晰的决策标准。适用于澄清模糊边界、定义质量标准、通过反例教学、预防常见错误、设定设计护栏、区分相似概念、通过反模式细化需求,或当用户提及近似错误示例、反目标、不应做的事、负面示例、反例或边界澄清时。

0 下载

介绍来源: third_party · lyndonkl · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: negative-contrastive-framing
description: Defines concepts, quality criteria, and boundaries by showing what they are NOT -- using anti-goals, near-miss examples, and failure patterns to create crisp decision criteria where positive definitions alone are ambiguous. Use when clarifying fuzzy boundaries, defining quality criteria, teaching by counterexample, preventing common mistakes, setting design guardrails, disambiguating similar concepts, refining requirements through anti-patterns, or when user mentions near-miss examples, anti-goals, what not to do, negative examples, counterexamples, or boundary clarification.

Negative Contrastive Framing

Workflow

Copy this checklist and track your progress:

Negative Contrastive Framing Progress:
- [ ] Step 1: Define positive concept
- [ ] Step 2: Identify negative examples
- [ ] Step 3: Analyze contrasts
- [ ] Step 4: Validate quality
- [ ] Step 5: Deliver framework

Step 1: Define positive concept

Start with initial positive definition, identify why it's ambiguous or fuzzy (multiple interpretations, edge cases unclear), and clarify purpose (teaching, decision-making, quality control). See Common Patterns for typical applications.

Step 2: Identify negative examples

For simple cases with clear anti-patterns → Use resources/template.md to structure anti-goals, near-misses, and failure patterns. For complex cases with subtle boundaries → Study resources/methodology.md for techniques like contrast matrices and boundary mapping.

Step 3: Analyze contrasts

Create negative-contrastive-framing.md with: positive definition, 3-5 anti-goals, 5-10 near-miss examples with explanations, common failure patterns, clear decision criteria ("passes if..." / "fails if..."), and boundary cases. Ensure contrasts reveal the why behind criteria.

Step 4: Validate quality

Self-assess using resources/evaluators/rubric_negative_contrastive_framing.json. Check: negative examples span the boundary space, near-misses are genuinely close calls, contrasts clarify criteria better than positive definition alone, failure patterns are actionable guards. Minimum standard: Average score ≥ 3.5.

Step 5: Deliver framework

Present completed framework with positive definition sharpened by negatives, most instructive near-misses highlighted, decision criteria operationalized as checklist, common mistakes identified for prevention.

Common Patterns

By Domain

Engineering (Code Quality):

  • Positive: "Maintainable code"
  • Negative: God objects, tight coupling, unclear names, magic numbers, exception swallowing
  • Near-miss: Well-commented spaghetti code (documentation without structure)

Design (UX):

  • Positive: "Intuitive interface"
  • Negative: Hidden actions, inconsistent patterns, cryptic error messages
  • Near-miss: Beautiful but unusable (form over function)

Communication (Clear Writing):

  • Positive: "Clear documentation"
  • Negative: Jargon-heavy, assuming context, no examples, passive voice
  • Near-miss: Technically accurate but incomprehensible to target audience

Strategy (Market Positioning):

  • Positive: "Premium brand"
  • Negative: Overpriced without differentiation, luxury signaling without substance
  • Near-miss: High price without service quality to match

By Application

Teaching:

  • Show common mistakes students make
  • Provide near-miss solutions revealing misconceptions
  • Identify "looks right but is wrong" patterns

Decision Criteria:

  • Define disqualifiers (automatic rejection criteria)
  • Show edge cases that almost pass
  • Clarify ambiguous middle ground

Quality Control:

  • Identify anti-patterns to avoid
  • Show subtle defects that might pass inspection
  • Define clear pass/fail boundaries

Guardrails

Near-Miss Selection:

  • Near-misses must be genuinely close to positive examples
  • Should reveal specific dimension that fails (not globally bad)
  • Avoid trivial failures—focus on subtle distinctions

Contrast Quality:

  • Explain why each negative example fails
  • Show what dimension violates criteria
  • Make contrasts instructive, not just lists

Completeness:

  • Cover failure modes across key dimensions
  • Don't cherry-pick—include hard-to-classify cases
  • Show spectrum from clear pass to clear fail

Actionability:

  • Translate insights into decision rules
  • Provide guards/checks to prevent failures
  • Make criteria operationally testable

Avoid:

  • Strawman negatives (unrealistically bad examples)
  • Negatives without explanation (show what's wrong and why)
  • Missing the "close call" zone (all examples clearly pass or fail)

Quick Reference

Resources:

  • resources/template.md - Structured format for anti-goals, near-misses, failure patterns
  • resources/methodology.md - Advanced techniques (contrast matrices, boundary mapping, failure taxonomies)
  • resources/evaluators/rubric_negative_contrastive_framing.json - Quality criteria

Output: negative-contrastive-framing.md with positive definition, anti-goals, near-misses with analysis, failure patterns, decision criteria

Success Criteria:

  • Negative examples span boundary space (not just extremes)
  • Near-misses are instructive close calls
  • Contrasts clarify ambiguous criteria
  • Failure patterns are actionable guards
  • Decision criteria operationalized
  • Score ≥ 3.5 on rubric

Quick Decisions:

  • Clear anti-patterns? → Template only
  • Subtle boundaries? → Use methodology for contrast matrices
  • Teaching application? → Emphasize near-misses revealing misconceptions
  • Quality control? → Focus on failure pattern taxonomy

Common Mistakes:

  1. Only showing extreme negatives (not instructive near-misses)
  2. Lists without analysis (not explaining why examples fail)
  3. Cherry-picking easy cases (avoiding hard boundary calls)
  4. Strawman negatives (unrealistically bad)
  5. No operationalization (criteria remain fuzzy despite contrasts)

Key Insight: Negative examples are most valuable when they're almost positive—close calls that force articulation of subtle criteria invisible in positive definition alone.

版本历史

  1. 0.1 GitHub ↗
    原版更新说明

    ## What's Changed * Improve writer skill navigation and structure by @lyndonkl in https://github.com/lyndonkl/claude/pull/1 * Consolidate stickiness content and reduce revision to 3 passes by @lyndonkl in https://github.com/lyndonkl/claude/pull/2 * Update README.md to reflect current writer skill structure by @lyndonkl in https://github.com/lyndonkl/claude/pull/3 * Add explicit instructions for AI agents to follow resource file workf… by @lyndonkl in https://github.com/lyndonkl/claude/pull/4 * Change analysis files from /tmp/ to project directory by @lyndonkl in https://github.com/lyndonkl/claude/pull/5 * Add five refined skills to production by @lyndonkl in https://github.com/lyndonkl/claude/pull/6 * Add causal-inference-root-cause skill and fix missing methodology files by @lyndonkl in https://github.com/lyndonkl/claude/pull/7 * Add workflow pattern to 6 completed skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/8 * Add chain-estimation and roleplay-debate skills with optimizations by @lyndonkl in https://github.com/lyndonkl/claude/pull/9 * Add 3 new skills and update writer skill workflow pattern by @lyndonkl in https://github.com/lyndonkl/claude/pull/10 * Add skills #12-13: constraint-based-creativity and data-schema-knowle… by @lyndonkl in https://github.com/lyndonkl/claude/pull/11 * Add skills #14-16: decision-matrix, decomposition-reconstruction, deliberation-debate-red-teaming by @lyndonkl in https://github.com/lyndonkl/claude/pull/12 * Add skills #17-19: design-of-experiments, dialectical-mapping-steelmanning, discovery-interviews-surveys by @lyndonkl in https://github.com/lyndonkl/claude/pull/13 * Add chef-assistant skill and update README by @lyndonkl in https://github.com/lyndonkl/claude/pull/14 * Fix README: Remove links to gitignored scratchpad files by @lyndonkl in https://github.com/lyndonkl/claude/pull/15 * Add skills #14-22: 9 new production-ready skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/16 * Add skills #20-24 and workflow pattern updates by @lyndonkl in https://github.com/lyndonkl/claude/pull/17 * Add skill #25: expected-value by @lyndonkl in https://github.com/lyndonkl/claude/pull/18 * Add skills #26-28: facilitation-patterns, financial-unit-economics, focus-timeboxing-8020 by @lyndonkl in https://github.com/lyndonkl/claude/pull/19 * Add skills #29-30: heuristics-and-checklists, hypotheticals-counterfactuals by @lyndonkl in https://github.com/lyndonkl/claude/pull/20 * Add skills #31-33: information-architecture, kill-criteria-exit-ramps, layered-reasoning by @lyndonkl in https://github.com/lyndonkl/claude/pull/21 * Add Claude Code plugin support by @lyndonkl in https://github.com/lyndonkl/claude/pull/22 * Fix plugin marketplace source path by @lyndonkl in https://github.com/lyndonkl/claude/pull/23 * Add skill #34: mapping-visualization-scaffolds by @lyndonkl in https://github.com/lyndonkl/claude/pull/24 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/25 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/26 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/27 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/28 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/29 * Add skill #59: skill-extraction by @lyndonkl in https://github.com/lyndonkl/claude/pull/30 * Add skill-creator: Transform documents into actionable skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/31 * Update skill count from 58 to 61 in README by @lyndonkl in https://github.com/lyndonkl/claude/pull/32 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/33 * Add d3-visualization skill: comprehensive D3.js implementation guide by @lyndonkl in https://github.com/lyndonkl/claude/pull/34 * Add comprehensive Superforecasting Toolkit with 4 skills and orchestr… by @lyndonkl in https://github.com/lyndonkl/claude/pull/35 * Add "Run in Smithery" badge by @gurdasnijor in https://github.com/lyndonkl/claude/pull/36 * Add Scientific Writing Toolkit with 6 skills and orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/37 * Improve skill invocation rules and update README by @lyndonkl in https://github.com/lyndonkl/claude/pull/38 * Add Geometric Deep Learning skill suite and orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/39 * Decompose writer skill into 4 focused skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/40 * Add GraphRAG skill suite with 5 skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/41 * Decompose cognitive-design skill into 3 focused skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/42 ## New Contributors * @lyndonkl made their first contribution in https://github.com/lyndonkl/claude/pull/1 * @gurdasnijor made their first contribution in https://github.com/lyndonkl/claude/pull/36 **Full Changelog**: https://github.com/lyndonkl/claude/commits/0.1

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值88/100

亮点

  • 提供系统性的反例教学方法,适用于代码质量、UX设计、文档编写等多个高频刚需场景
  • 通过近似错误示例和失败模式有效澄清模糊边界,显著提升决策效率
触发精准85/100

亮点

  • 触发词覆盖全面,包括'反目标'、'近似错误示例'、'负面示例'等关键术语
  • 适用场景描述清晰,边界明确,不易与其他 Skill 混淆
结构规范78/100

待提升项

  • 文档长度略超推荐值 原报告严重程度:轻微

    SKILL.md 内容约600行,超出500行推荐长度,可能影响可读性

    改进建议:考虑将部分通用模式或示例移至独立资源文件,保持主文档简洁

亮点

  • Workflow 步骤清晰,包含5个阶段及进度检查清单
  • Common Patterns 按领域和应用双重分类,便于用户快速定位
执行可靠82/100

待提升项

  • 资源文件引用完整性未显式确认 原报告严重程度:轻微

    主文档引用了 resources/template.md、methodology.md 和 evaluators/rubric.json,但未在传入内容中显式包含这些文件

    改进建议:请确保所有被引用的资源文件均包含在 ZIP 包中,或在文档中注明获取方式

亮点

  • Step 4 提供自评 rubric,确保输出质量可控
  • Guardrails 部分明确列出常见陷阱及规避方法,提升执行成功率
证据可验 (前四项均值)83/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。