spec-examples

Generate concrete input/output examples for SPEC behavioral rules using Arabic text.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/rayanino/kr --skill spec-examples
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-examples
Source: https://github.com/rayanino/kr/tree/main/.claude/skills/spec-examples
Command: npx skills add https://github.com/rayanino/kr --skill spec-examples

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the critical need for concrete, testable examples in SPEC behavioral rules, ensuring clarity and preventing ambiguity.

Core Features & Use Cases

  • Example Generation: Creates realistic input/output examples for SPEC rules using actual Arabic text.
  • Rule Refinement: Aids in refining SPEC rules by highlighting areas lacking testable examples.
  • Ambiguity Resolution: Helps resolve Claude Code reported SPEC-AMBIGUITY issues.
  • Use Case: When a SPEC rule for processing Arabic book metadata is unclear, use this Skill to generate an example with a real book title and author, demonstrating the expected input and output.

Quick Start

Generate a SPEC example for the rule about extracting author names from book metadata.

Frequently Asked Questions about spec-examples

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate testable examples for SPEC behavioral rules?

To generate testable examples for SPEC behavioral rules, use this Skill to create concrete input/output pairs using real Arabic text, covering normal, edge, and error paths to prevent ambiguity.

What are testable SPEC examples and when do I need them?

Testable SPEC examples are concrete input/output instances validating behavioral rules. You need them when processing Arabic text to resolve ambiguity and ensure rules align with input/output contracts.

How do I resolve SPEC-AMBIGUITY issues reported in my documentation?

Resolve SPEC-AMBIGUITY issues by generating concrete input/output examples for unclear rules. This Skill highlights areas lacking testable examples and demonstrates expected behavior using real Arabic text.

Can I use this to generate examples for Arabic book metadata processing?

Yes, you can generate examples for Arabic book metadata processing. The Skill creates realistic scenarios with actual book titles and authors to demonstrate expected input and output behavior.

How do I refine SPEC rules that lack clear testing boundaries?

Refine SPEC rules lacking clear boundaries by generating concrete examples exposing unhandled edge cases. This Skill aids rule refinement by highlighting areas where testable examples are missing.