claude-code-patterns

Identify and apply Claude Code architecture patterns to CC artifacts.

2|5|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/terrene-foundation/kailash-py --skill claude-code-patterns-terrene-foundation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-code-patterns
Source: https://github.com/terrene-foundation/kailash-py/tree/main/.claude/skills/30-claude-code-patterns
Command: npx skills add https://github.com/terrene-foundation/kailash-py --skill claude-code-patterns-terrene-foundation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Claude Code architecture patterns provide reference patterns for designing Claude Code artifacts and understanding CC's internal architecture to help teams build consistent, trustworthy CC components.

Core Features & Use Cases

  • Reference patterns for designing Claude Code artifacts and understanding CC's internal architecture
  • Guidance on artifact types (Agent, Skill, Rule, Command, Hook) and best practices for token efficiency
  • Use Case: When building or auditing artifacts, this skill helps ensure consistency and safety across CC components

Quick Start

Apply Claude code-pattern references to outline a new artifact and validate alignment with CC architectural patterns.

Frequently Asked Questions about claude-code-patterns

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

FAQPage Schema
How do I apply architectural patterns to Claude Code artifacts?

Applying architectural patterns to Claude Code artifacts involves enforcing structured frontmatter, guiding artifact design with templates, and emphasizing token-efficiency and guardrails across agents, skills, rules, commands, and hooks.

What are the best practices for token efficiency in Claude Code agents?

Token efficiency best practices for Claude Code agents involve applying reference architecture patterns to optimize token budgets and enforce guardrails, resulting in robust and consistent CC component design.

When do I need architectural patterns for Claude Code components?

Architectural patterns for Claude Code components are needed when creating, auditing, or improving artifacts such as agents, skills, rules, commands, and hooks to ensure design quality, consistency, and safety across your CC architecture.

How do I audit Claude Code skills and hooks for design quality?

Auditing Claude Code skills and hooks for design quality requires validating alignment with CC architectural patterns, checking structured frontmatter, and verifying token-efficiency and guardrails within the artifact design.

Does this skill support structured frontmatter for Claude Code rules?

Yes, this skill enforces structured frontmatter for Claude Code rules and other artifacts, providing templates and guidance to ensure consistency and safety across all CC components.