All Snippets
4 production-ready code patterns.
4 snippets
TSbeginner
Basic Delegation Contract
Delegate a task to a subagent with typed inputs, expected outputs, and a timeout. The contract is the unit of trust.
delegationagents@dcyfr/ai
TSintermediate
Context Window Checkpoint
Persist agent state at a natural pause point so a future invocation can resume without replaying the full history.
contextmemoryagents
TSbeginner
Basic RAG Pipeline
Retrieve relevant context from a vector store, inject it into a prompt, and generate a grounded response.
RAGvector-search@dcyfr/ai-rag
SHintermediate
OpenSpec Apply Loop
Loop through pending tasks in an OpenSpec change, implement each one, and mark it complete.
openspecworkflowautomation