Recursive Patterns — Development skill for Claude Code
Recursive Prompt Patterns for ProductionOS.
How to install Recursive Patterns
Installs to ~/.claude/skills/shaheerkhawaja-productionos-recursive-patterns/SKILL.md
mkdir -p ~/.claude/skills/shaheerkhawaja-productionos-recursive-patterns && curl -fsSL https://raw.githubusercontent.com/ShaheerKhawaja/ProductionOS/HEAD/prompts/RECURSIVE-PATTERNS.md -o ~/.claude/skills/shaheerkhawaja-productionos-recursive-patterns/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Recursive Patterns does
Recursive Prompt Patterns for ProductionOS
**Research Foundation:** Recursive Language Models (Zhang et al. 2025), ReCAP (Li et al. 2025), Promptbreeder (Fernando et al. 2023), Self-Refine (Madaan et al. 2023), Chain-of-Verification (Dhuliawala et al. 2023), Chain of Density (Adams et al. 2023), Plan-and-Act (Wang et al. 2025)
**Purpose:** Six recursive prompt patterns that extend ProductionOS's existing 16 layers (00-15) and 9-layer composition stack. Each pattern uses self-reference, depth
Alternatives in Development
- Claude Code Examples — Official example projects and patterns from Anthropic 35.6k ★
- Om Weekly — Weekly synthesis — cross-session review of vault activity, North Star alignment, patterns, uncaptured wins, an 4.6k ★
- Learn Eval — 从会话中提取可复用的模式(Patterns),在保存前进行质量自评,并确定合适的保存位置(全局 vs 项目) 1.9k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Omni Plan Nth
Nth-iteration omni-plan — recursive orchestration that chains ALL ProductionOS skills and agents, evaluates st
Auto Swarm Nth
Nth-iteration agent swarm — spawns parallel agent waves, evaluates strictly per wave, re-swarms gaps until 100
SwiftUI Microinteractions
One command in Claude Code, Cursor, or Codex and your agent already knows the physics, the spring curves, and
Claude Code Prompt Engineering Patterns
10 production prompt engineering patterns reverse-engineered from the Claude Code source leak. Python implemen
Prompt Injection Guard
Detect prompt injection, hardcoded secrets, destructive commands and exfiltration patterns in any text or file
Allow Asks
Review the permission-prompt log, propose allow-rule patterns, and append approved ones to ~/.claude/settings.
Related Agents
Codebase Analyzer Recursive
Analyzes codebase implementation details. Call the codebase-analyzer agent when you need to find detailed info
LLM Expert
Use this agent for AI SDK integration, LLM provider configuration, prompt template management, error handling
Addendum: Git Operations, Slash Commands & GitHub Integration
Append this to the Definitive Guide, Quick Reference, and Prompt Guide. Covers: Claude Code built-in slash com