negative-contrastive-framing

Define concepts, quality standards, and boundaries by showing what something is not—using anti-goals, near-miss examples, and failure patterns to establish clear decision criteria when positive definitions are ambiguous. Applicable for clarifying fuzzy boundaries, defining quality standards, teaching via counterexamples, preventing common mistakes, setting design guardrails, distinguishing similar concepts, refining requirements via anti-patterns, or when a user mentions near-miss examples, anti-goals, things not to do, negative examples, counterexamples, or boundary clarification.

Last repository push
GitHub Stars
206
Forks
28
Issues / PRs
3

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 "negative-contrastive-framing" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e60ea04c01ebad96bf75d45db99e4b12f8acf0488ed749be2b3f92807d46bbb7. Verify the upstream source and version against https://github.com/lyndonkl/claude 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

Define concepts, quality standards, and boundaries by showing what something is not—using anti-goals, near-miss examples, and failure patterns to establish clear decision criteria when positive definitions are ambiguous. Applicable for clarifying fuzzy boundaries, defining quality standards, teaching via counterexamples, preventing common mistakes, setting design guardrails, distinguishing similar concepts, refining requirements via anti-patterns, or when a user mentions near-miss examples, anti-goals, things not to do, negative examples, counterexamples, or boundary clarification.

0 Downloads

Introduction source: third_party · lyndonkl · 0.0.1 Reference

SkillPi interpretation

Tasks
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.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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.

Version history

  1. 0.1 GitHub ↗
    Original release notes

    ## 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

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 Value88/100

Highlights

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

Highlights

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

Areas to improve

  • 文档长度略超推荐值 Reported severity: Minor

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

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

Highlights

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

Areas to improve

  • 资源文件引用完整性未显式确认 Reported severity: Minor

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

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

Highlights

  • Step 4 提供自评 rubric,确保输出质量可控
  • Guardrails 部分明确列出常见陷阱及规避方法,提升执行成功率
Evidence Verifiability (mean of the first four)83/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.