Core Patterns

Provide reusable templates for error escalation, decision criteria, and enforcement.

71|2|Updated Feb 23, 2024
One-click install
npx skills add https://github.com/takeokunn/nixos-configuration --skill core-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Core Patterns
Source: https://github.com/takeokunn/nixos-configuration/tree/main/home-manager/programs/claude-code/skills/patterns/core-patterns
Command: npx skills add https://github.com/takeokunn/nixos-configuration --skill core-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides standardized base templates for error handling, decision criteria, and enforcement that can be reused across all agents and commands to reduce duplication and ensure consistent behavior.

Core Features & Use Cases

  • Error escalation template for consistent 4-level severity handling across tasks.
  • Decision criteria template with weighted factors and boundary tests to determine status.
  • Enforcement template defining mandatory and prohibited behaviors to enforce correct conduct.
  • Use cases include creating new agents or commands that inherit standardized patterns and referencing this skill to ensure alignment with core guidelines.

Quick Start

Use the Core Patterns as the foundation when designing a new agent or command: reference core-patterns in the refs section and adopt the predefined error_escalation, decision_criteria, and enforcement templates for consistent behavior.

Frequently Asked Questions about Core Patterns

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

FAQPage Schema
How do I standardize error escalation and decision criteria across multiple agents?

You can standardize error escalation and decision criteria by applying reusable templates that enforce consistent 4-level severity handling and weighted factors across all agents. This ensures uniform governance and behavior throughout your workflow.

What is the best way to enforce consistent agent behavior and governance?

The best way to enforce consistent agent behavior is by adopting formal enforcement templates that define mandatory and prohibited actions. This establishes strict governance rules for conduct across all commands and agents.

How do I reuse error handling patterns when creating new agents and commands?

To reuse error handling patterns, you reference standardized base templates in the refs section of your new agent or command design. This allows your components to inherit predefined 4-level severity escalation rules directly.

Can I apply weighted decision criteria to determine agent task status?

Yes, you can apply weighted decision criteria with boundary tests to determine task status. This provides a formalized framework for evaluating factors and making consistent decisions across multiple agent components.

Does this standardization approach work without external dependencies?

Yes, this standardization approach works without external dependencies because it provides base templates directly within your design workflow. You simply reference the core patterns to ensure alignment without requiring additional libraries.

Why do I need formal enforcement rules for command design?

You need formal enforcement rules for command design to prevent prohibited behaviors and mandate correct execution logic. Defining these boundaries eliminates duplication and guarantees robust, predictable agent conduct across all tasks.