Prompt Engineering — Operational Skill
Modern Best Practices (January 2026): versioned prompts, explicit output contracts, regression tests, and safety threat modeling for tool/RAG prompts (OWASP LLM Top 10: https://owasp.org/www-project-top-10-for-large-language-model-applications/).
This skill provides operational guidance for building production-ready prompts across standard tasks, RAG workflows, agent orchestration, structured outputs, hidden reasoning, and multi-step planning.
All content is operational, not theoretical. Focus on patterns, checklists, and copy-paste templates.
Quick Start (60 seconds)
- Pick a pattern from the decision tree (structured output, extractor, RAG, tools/agent, rewrite, classification).
- Start from a template in
assets/ and fill in TASK, INPUT, RULES, and OUTPUT FORMAT.
- Add guardrails: instruction/data separation, “no invented details”, missing →
null/explicit missing.
- Add validation: JSON parse check, schema check, citations check, post-tool checks.
- Add evals: 10–20 cases while iterating, 50–200 before release, plus adversarial injection cases.
Model Notes (2026)
This skill includes Claude Code + Codex CLI optimizations:
- Action directives: Frame for implementation, not suggestions
- Parallel tool execution: Independent tool calls can run simultaneously
- Long-horizon task management: State tracking, incremental progress, context compaction resilience
- Positive framing: Describe desired behavior rather than prohibitions
- Style matching: Prompt formatting influences output style
- Domain-specific patterns: Specialized guidance for frontend, research, and agentic coding
- Style-adversarial resilience: Stress-test refusals with poetic/role-play rewrites; normalize or decline stylized harmful asks before tool use
Prefer “brief justification” over requesting chain-of-thought. When using private reasoning patterns, instruct: think internally; output only the final answer.
Quick Reference
| Task |
Pattern to Use |
Key Components |
When to Use |
| Machine-parseable output |
Structured Output |
JSON schema, "JSON-only" directive, no prose |
API integrations, data extraction |
| Field extraction |
Deterministic Extractor |
Exact schema, missing->null, no transformations |
Form data, invoice parsing |
| Use retrieved context |
RAG Workflow |
Context relevance check, chunk citations, explicit missing info |
Knowledge bases, documentation search |
| Internal reasoning |
Hidden Chain-of-Thought |
Internal reasoning, final answer only |
Classification, complex decisions |
| Tool-using agent |
Tool/Agent Planner |
Plan-then-act, one tool per turn |
Multi-step workflows, API calls |
| Text transformation |
Rewrite + Constrain |
Style rules, meaning preservation, format spec |
Content adaptation, summarization |
| Classification |
Decision Tree |
Ordered branches, mutually exclusive, JSON result |
Routing, categorization, triage |
Decision Tree: Choosing the Right Pattern
User needs: [Prompt Type]
|-- Output must be machine-readable?
| |-- Extract specific fields only? -> **Deterministic Extractor Pattern**
| `-- Generate structured data? -> **Structured Output Pattern (JSON)**
|
|-- Use external knowledge?
| `-- Retrieved context must be cited? -> **RAG Workflow Pattern**
|
|-- Requires reasoning but hide process?
| `-- Classification or decision task? -> **Hidden Chain-of-Thought Pattern**
|
|-- Needs to call external tools/APIs?
| `-- Multi-step workflow? -> **Tool/Agent Planner Pattern**
|
|-- Transform existing text?
| `-- Style/format constraints? -> **Rewrite + Constrain Pattern**
|
`-- Classify or route to categories?
`-- Mutually exclusive rules? -> **Decision Tree Pattern**
Copy/Paste: Minimal Prompt Skeletons
1) Generic "output contract" skeleton
TASK:
{{one_sentence_task}}
INPUT:
{{input_data}}
RULES:
- Follow TASK exactly.
- Use only INPUT (and tool outputs if tools are allowed).
- No invented details. Missing required info -> say what is missing.
- Keep reasoning hidden.
- Follow OUTPUT FORMAT exactly.
OUTPUT FORMAT:
{{schema_or_format_spec}}
2) Tool/agent skeleton (deterministic)
AVAILABLE TOOLS:
{{tool_signatures_or_names}}
WORKFLOW:
- Make a short plan.
- Call tools only when required to complete the task.
- Validate tool outputs before using them.
- If the environment supports parallel tool calls, run independent calls in parallel.
3) RAG skeleton (grounded)
RETRIEVED CONTEXT:
{{chunks_with_ids}}
RULES:
- Use only retrieved context for factual claims.
- Cite chunk ids for each claim.
- If evidence is missing, say what is missing.
Operational Checklists
Use these references when validating or debugging prompts:
frameworks/shared-skills/skills/ai-prompt-engineering/references/quality-checklists.md
frameworks/shared-skills/skills/ai-prompt-engineering/references/production-guidelines.md
Context Engineering (2026)
True expertise in prompting extends beyond writing instructions to shaping the entire context in which the model operates. Context engineering encompasses:
- Conversation history: What prior turns inform the current response
- Retrieved context (RAG): External knowledge injected into the prompt
- Structured inputs: JSON schemas, system/user message separation
- Tool outputs: Results from previous tool calls that shape next steps
Context Engineering vs Prompt Engineering
| Aspect |
Prompt Engineering |
Context Engineering |
| Focus |
Instruction text |
Full input pipeline |
| Scope |
Single prompt |
RAG + history + tools |
| Optimization |
Word choice, structure |
Information architecture |
| Goal |
Clear instructions |
Optimal context window |
Key Context Engineering Patterns
1. Context Prioritization: Place most relevant information first; models attend more strongly to early context.
2. Context Compression: Summarize history, truncate tool outputs, select most relevant RAG chunks.
3. Context Separation: Use clear delimiters (<system>, <user>, <context>) to separate instruction types.
4. Dynamic Context: Adjust context based on task complexity - simple tasks need less context, complex tasks need more.
Core Concepts vs Implementation Practices
Core Concepts (Vendor-Agnostic)
- Prompt contract: inputs, allowed tools, output schema, max tokens, and refusal rules.
- Context engineering: conversation history, RAG context, tool outputs, and structured inputs shape model behavior.
- Determinism controls: temperature/top_p, constrained decoding/structured outputs, and strict formatting.
- Cost & latency budgets: prompt length and max output drive tokens and tail latency; enforce hard limits and measure p95/p99.
- Evaluation: golden sets + regression gates + A/B + post-deploy monitoring.
- Security: prompt injection, data exfiltration, and tool misuse are primary threats (OWASP LLM Top 10: https://owasp.org/www-project-top-10-for-large-language-model-applications/).
Implementation Practices (Model/Platform-Specific)
Do / Avoid
Do
- Do keep prompts small and modular; centralize shared fragments (policies, schemas, style).
- Do add a prompt eval harness and block merges on regressions.
- Do prefer "brief justification" over requesting chain-of-thought; treat hidden reasoning as model-internal.
Avoid
- Avoid prompt sprawl (many near-duplicates with no owner or tests).
- Avoid brittle multi-step chains without intermediate validation.
- Avoid mixing policy and product copy in the same prompt (harder to audit and update).
Navigation: Core Patterns
- Core Patterns - 7 production-grade prompt patterns
- Structured Output (JSON), Deterministic Extractor, RAG Workflow
- Hidden Chain-of-Thought, Tool/Agent Planner, Rewrite + Constrain, Decision Tree
- Each pattern includes structure template and validation checklist
Navigation: Best Practices
Best Practices (Core) - Foundation rules for production-grade prompts
- System instruction design, output contract specification, action directives
- Context handling, error recovery, positive framing, style matching, style-adversarial red teaming
- Anti-patterns, Claude 4+ specific optimizations
Production Guidelines - Deployment and operational guidance
- Evaluation & testing (Prompt CI/CD), model parameters, few-shot selection
- Safety & guardrails, conversation memory, context compaction resilience
- Answer engineering, decomposition, multilingual/multimodal, benchmarking
- CI/CD Tools (2026): Promptfoo, DeepEval integration patterns
- Security (2026): PromptGuard 4-layer defense, Microsoft Prompt Shields, taint tracking
Quality Checklists - Validation checklists before deployment
- Prompt QA, JSON validation, agent workflow checks
- RAG workflow, safety & security, performance optimization
- Testing coverage, anti-patterns, quality score rubric
Domain-Specific Patterns - Claude 4+ optimized patterns for specialized domains
- Frontend/visual code: Creativity encouragement, design variations, micro-interactions
- Research tasks: Success criteria, verification, hypothesis tracking
- Agentic coding: No speculation rule, principled implementation, investigation patterns
- Cross-domain best practices and quality modifiers
Navigation: Specialized Patterns
RAG Patterns - Retrieval-augmented generation workflows
- Context grounding, chunk citation, missing information handling
Agent and Tool Patterns - Tool use and agent orchestration
- Plan-then-act workflows, tool calling, multi-step reasoning, generate-verify-revise chains
- Multi-Agent Orchestration (2026): centralized, handoff, federated patterns; plan-and-execute (90% cost reduction)
Extraction Patterns - Deterministic field extraction
- Schema-based extraction, null handling, no hallucinations
Reasoning Patterns (Hidden CoT) - Internal reasoning without visible output
- Hidden reasoning, final answer only, classification workflows
- Extended Thinking API (Claude 4+): budget management, think tool, multishot patterns
Additional Patterns - Extended prompt engineering techniques
- Advanced patterns, edge cases, optimization strategies
Navigation: Templates
Templates are copy-paste ready and organized by complexity:
Quick Templates
- Quick Template - Fast, minimal prompt structure
Standard Templates
- Standard Template - Production-grade operational prompt
- Agent Template - Tool-using agent with planning
- RAG Template - Retrieval-augmented generation
- Chain-of-Thought Template - Hidden reasoning pattern
- JSON Extractor Template - Deterministic field extraction
- Prompt Evaluation Template - Regression tests, A/B testing, rollout gates
External Resources
External references are listed in data/sources.json:
- Official documentation (OpenAI, Anthropic, Google)
- LLM frameworks (LangChain, LlamaIndex)
- Vector databases (Pinecone, Weaviate, FAISS)
- Evaluation tools (OpenAI Evals, HELM)
- Safety guides and standards
- RAG and retrieval resources
Freshness Rule (2026)
When asked for “latest” prompting recommendations, prefer provider docs and standards from data/sources.json. If web search is unavailable, state the constraint and avoid overconfident “current best” claims.
Related Skills
This skill provides foundational prompt engineering patterns. For specialized implementations:
AI/LLM Skills:
Software Development Skills:
Usage Notes
For Claude Code:
- Reference this skill when building prompts for agents, commands, or integrations
- Use Quick Reference table for fast pattern lookup
- Follow Decision Tree to select appropriate pattern
- Validate outputs with Quality Checklists before deployment
- Use templates as starting points, customize for specific use cases
For Codex CLI:
- Use the same patterns and templates; adapt tool-use wording to the local tool interface
- For long-horizon tasks, track progress explicitly (a step list/plan) and update it as work completes
- Run independent reads/searches in parallel when the environment supports it; keep writes/edits serialized
- AGENTS.md Integration: Place project-specific prompt guidance in AGENTS.md files at global (~/.codex/AGENTS.md), project-level (./AGENTS.md), or subdirectory scope for layered instructions
- Reasoning Effort: Use
medium for interactive coding (default), high/xhigh for complex autonomous multi-hour tasks
1---
2name: ai-prompt-engineering
3description: "Operational prompt engineering for production LLM apps: structured outputs (JSON/schema), deterministic extractors, RAG grounding/citations, tool/agent workflows, prompt safety (injection/exfiltration), and prompt evaluation/regression testing. Use when designing, debugging, or standardizing prompts for Codex CLI, Claude Code, and OpenAI/Anthropic/Gemini APIs."
4metadata:
5 source: https://skillmd.com/skills/aibot88/ai-prompt-engineering
6---
7
8# Prompt Engineering — Operational Skill
9
10**Modern Best Practices (January 2026)**: versioned prompts, explicit output contracts, regression tests, and safety threat modeling for tool/RAG prompts (OWASP LLM Top 10: https://owasp.org/www-project-top-10-for-large-language-model-applications/).
11
12This skill provides **operational guidance** for building production-ready prompts across standard tasks, RAG workflows, agent orchestration, structured outputs, hidden reasoning, and multi-step planning.
13
14All content is **operational**, not theoretical. Focus on patterns, checklists, and copy-paste templates.
15
16## Quick Start (60 seconds)
17
181. Pick a pattern from the decision tree (structured output, extractor, RAG, tools/agent, rewrite, classification).
192. Start from a template in `assets/` and fill in `TASK`, `INPUT`, `RULES`, and `OUTPUT FORMAT`.
203. Add guardrails: instruction/data separation, “no invented details”, missing → `null`/explicit missing.
214. Add validation: JSON parse check, schema check, citations check, post-tool checks.
225. Add evals: 10–20 cases while iterating, 50–200 before release, plus adversarial injection cases.
23
24## Model Notes (2026)
25
26This skill includes Claude Code + Codex CLI optimizations:
27
28- **Action directives**: Frame for implementation, not suggestions
29- **Parallel tool execution**: Independent tool calls can run simultaneously
30- **Long-horizon task management**: State tracking, incremental progress, context compaction resilience
31- **Positive framing**: Describe desired behavior rather than prohibitions
32- **Style matching**: Prompt formatting influences output style
33- **Domain-specific patterns**: Specialized guidance for frontend, research, and agentic coding
34- **Style-adversarial resilience**: Stress-test refusals with poetic/role-play rewrites; normalize or decline stylized harmful asks before tool use
35
36Prefer “brief justification” over requesting chain-of-thought. When using private reasoning patterns, instruct: think internally; output only the final answer.
37
38## Quick Reference
39
40| Task | Pattern to Use | Key Components | When to Use |
41|------|----------------|----------------|-------------|
42| **Machine-parseable output** | Structured Output | JSON schema, "JSON-only" directive, no prose | API integrations, data extraction |
43| **Field extraction** | Deterministic Extractor | Exact schema, missing->null, no transformations | Form data, invoice parsing |
44| **Use retrieved context** | RAG Workflow | Context relevance check, chunk citations, explicit missing info | Knowledge bases, documentation search |
45| **Internal reasoning** | Hidden Chain-of-Thought | Internal reasoning, final answer only | Classification, complex decisions |
46| **Tool-using agent** | Tool/Agent Planner | Plan-then-act, one tool per turn | Multi-step workflows, API calls |
47| **Text transformation** | Rewrite + Constrain | Style rules, meaning preservation, format spec | Content adaptation, summarization |
48| **Classification** | Decision Tree | Ordered branches, mutually exclusive, JSON result | Routing, categorization, triage |
49
50---
51
52## Decision Tree: Choosing the Right Pattern
53
54```text
55User needs: [Prompt Type]
56 |-- Output must be machine-readable?
57 | |-- Extract specific fields only? -> **Deterministic Extractor Pattern**
58 | `-- Generate structured data? -> **Structured Output Pattern (JSON)**
59 |
60 |-- Use external knowledge?
61 | `-- Retrieved context must be cited? -> **RAG Workflow Pattern**
62 |
63 |-- Requires reasoning but hide process?
64 | `-- Classification or decision task? -> **Hidden Chain-of-Thought Pattern**
65 |
66 |-- Needs to call external tools/APIs?
67 | `-- Multi-step workflow? -> **Tool/Agent Planner Pattern**
68 |
69 |-- Transform existing text?
70 | `-- Style/format constraints? -> **Rewrite + Constrain Pattern**
71 |
72 `-- Classify or route to categories?
73 `-- Mutually exclusive rules? -> **Decision Tree Pattern**
74```
75
76---
77
78## Copy/Paste: Minimal Prompt Skeletons
79
80### 1) Generic "output contract" skeleton
81
82```text
83TASK:
84{{one_sentence_task}}
85
86INPUT:
87{{input_data}}
88
89RULES:
90- Follow TASK exactly.
91- Use only INPUT (and tool outputs if tools are allowed).
92- No invented details. Missing required info -> say what is missing.
93- Keep reasoning hidden.
94- Follow OUTPUT FORMAT exactly.
95
96OUTPUT FORMAT:
97{{schema_or_format_spec}}
98```
99
100### 2) Tool/agent skeleton (deterministic)
101
102```text
103AVAILABLE TOOLS:
104{{tool_signatures_or_names}}
105
106WORKFLOW:
107- Make a short plan.
108- Call tools only when required to complete the task.
109- Validate tool outputs before using them.
110- If the environment supports parallel tool calls, run independent calls in parallel.
111```
112
113### 3) RAG skeleton (grounded)
114
115```text
116RETRIEVED CONTEXT:
117{{chunks_with_ids}}
118
119RULES:
120- Use only retrieved context for factual claims.
121- Cite chunk ids for each claim.
122- If evidence is missing, say what is missing.
123```
124
125---
126
127## Operational Checklists
128
129Use these references when validating or debugging prompts:
130
131- `frameworks/shared-skills/skills/ai-prompt-engineering/references/quality-checklists.md`
132- `frameworks/shared-skills/skills/ai-prompt-engineering/references/production-guidelines.md`
133
134## Context Engineering (2026)
135
136True expertise in prompting extends beyond writing instructions to shaping the entire context in which the model operates. Context engineering encompasses:
137
138- **Conversation history**: What prior turns inform the current response
139- **Retrieved context (RAG)**: External knowledge injected into the prompt
140- **Structured inputs**: JSON schemas, system/user message separation
141- **Tool outputs**: Results from previous tool calls that shape next steps
142
143### Context Engineering vs Prompt Engineering
144
145| Aspect | Prompt Engineering | Context Engineering |
146|--------|-------------------|---------------------|
147| Focus | Instruction text | Full input pipeline |
148| Scope | Single prompt | RAG + history + tools |
149| Optimization | Word choice, structure | Information architecture |
150| Goal | Clear instructions | Optimal context window |
151
152### Key Context Engineering Patterns
153
154**1. Context Prioritization**: Place most relevant information first; models attend more strongly to early context.
155
156**2. Context Compression**: Summarize history, truncate tool outputs, select most relevant RAG chunks.
157
158**3. Context Separation**: Use clear delimiters (`<system>`, `<user>`, `<context>`) to separate instruction types.
159
160**4. Dynamic Context**: Adjust context based on task complexity - simple tasks need less context, complex tasks need more.
161
162---
163
164## Core Concepts vs Implementation Practices
165
166### Core Concepts (Vendor-Agnostic)
167
168- **Prompt contract**: inputs, allowed tools, output schema, max tokens, and refusal rules.
169- **Context engineering**: conversation history, RAG context, tool outputs, and structured inputs shape model behavior.
170- **Determinism controls**: temperature/top_p, constrained decoding/structured outputs, and strict formatting.
171- **Cost & latency budgets**: prompt length and max output drive tokens and tail latency; enforce hard limits and measure p95/p99.
172- **Evaluation**: golden sets + regression gates + A/B + post-deploy monitoring.
173- **Security**: prompt injection, data exfiltration, and tool misuse are primary threats (OWASP LLM Top 10: https://owasp.org/www-project-top-10-for-large-language-model-applications/).
174
175### Implementation Practices (Model/Platform-Specific)
176
177- Use model-specific structured output features when available; keep a schema validator as the source of truth.
178- Align tracing/metrics with OpenTelemetry GenAI semantic conventions (https://opentelemetry.io/docs/specs/semconv/gen-ai/).
179
180## Do / Avoid
181
182**Do**
183- Do keep prompts small and modular; centralize shared fragments (policies, schemas, style).
184- Do add a prompt eval harness and block merges on regressions.
185- Do prefer "brief justification" over requesting chain-of-thought; treat hidden reasoning as model-internal.
186
187**Avoid**
188- Avoid prompt sprawl (many near-duplicates with no owner or tests).
189- Avoid brittle multi-step chains without intermediate validation.
190- Avoid mixing policy and product copy in the same prompt (harder to audit and update).
191
192## Navigation: Core Patterns
193
194- **[Core Patterns](references/core-patterns.md)** - 7 production-grade prompt patterns
195 - Structured Output (JSON), Deterministic Extractor, RAG Workflow
196 - Hidden Chain-of-Thought, Tool/Agent Planner, Rewrite + Constrain, Decision Tree
197 - Each pattern includes structure template and validation checklist
198
199## Navigation: Best Practices
200
201- **[Best Practices (Core)](references/best-practices-core.md)** - Foundation rules for production-grade prompts
202 - System instruction design, output contract specification, action directives
203 - Context handling, error recovery, positive framing, style matching, style-adversarial red teaming
204 - Anti-patterns, Claude 4+ specific optimizations
205
206- **[Production Guidelines](references/production-guidelines.md)** - Deployment and operational guidance
207 - Evaluation & testing (Prompt CI/CD), model parameters, few-shot selection
208 - Safety & guardrails, conversation memory, context compaction resilience
209 - Answer engineering, decomposition, multilingual/multimodal, benchmarking
210 - **CI/CD Tools** (2026): Promptfoo, DeepEval integration patterns
211 - **Security** (2026): PromptGuard 4-layer defense, Microsoft Prompt Shields, taint tracking
212
213- **[Quality Checklists](references/quality-checklists.md)** - Validation checklists before deployment
214 - Prompt QA, JSON validation, agent workflow checks
215 - RAG workflow, safety & security, performance optimization
216 - Testing coverage, anti-patterns, quality score rubric
217
218- **[Domain-Specific Patterns](references/domain-specific-patterns.md)** - Claude 4+ optimized patterns for specialized domains
219 - Frontend/visual code: Creativity encouragement, design variations, micro-interactions
220 - Research tasks: Success criteria, verification, hypothesis tracking
221 - Agentic coding: No speculation rule, principled implementation, investigation patterns
222 - Cross-domain best practices and quality modifiers
223
224## Navigation: Specialized Patterns
225
226- **[RAG Patterns](references/rag-patterns.md)** - Retrieval-augmented generation workflows
227 - Context grounding, chunk citation, missing information handling
228
229- **[Agent and Tool Patterns](references/agent-patterns.md)** - Tool use and agent orchestration
230 - Plan-then-act workflows, tool calling, multi-step reasoning, generate-verify-revise chains
231 - **Multi-Agent Orchestration** (2026): centralized, handoff, federated patterns; plan-and-execute (90% cost reduction)
232
233- **[Extraction Patterns](references/extraction-patterns.md)** - Deterministic field extraction
234 - Schema-based extraction, null handling, no hallucinations
235
236- **[Reasoning Patterns (Hidden CoT)](references/reasoning-patterns.md)** - Internal reasoning without visible output
237 - Hidden reasoning, final answer only, classification workflows
238 - **Extended Thinking API** (Claude 4+): budget management, think tool, multishot patterns
239
240- **[Additional Patterns](references/additional-patterns.md)** - Extended prompt engineering techniques
241 - Advanced patterns, edge cases, optimization strategies
242
243---
244
245## Navigation: Templates
246
247Templates are copy-paste ready and organized by complexity:
248
249### Quick Templates
250
251- **[Quick Template](assets/quick/template-quick.md)** - Fast, minimal prompt structure
252
253### Standard Templates
254
255- **[Standard Template](assets/standard/template-standard.md)** - Production-grade operational prompt
256- **[Agent Template](assets/standard/template-agent.md)** - Tool-using agent with planning
257- **[RAG Template](assets/standard/template-rag.md)** - Retrieval-augmented generation
258- **[Chain-of-Thought Template](assets/standard/template-cot.md)** - Hidden reasoning pattern
259- **[JSON Extractor Template](assets/standard/template-json-extractor.md)** - Deterministic field extraction
260- **[Prompt Evaluation Template](assets/eval/prompt-eval-template.md)** - Regression tests, A/B testing, rollout gates
261
262---
263
264## External Resources
265
266External references are listed in [data/sources.json](data/sources.json):
267
268- Official documentation (OpenAI, Anthropic, Google)
269- LLM frameworks (LangChain, LlamaIndex)
270- Vector databases (Pinecone, Weaviate, FAISS)
271- Evaluation tools (OpenAI Evals, HELM)
272- Safety guides and standards
273- RAG and retrieval resources
274
275---
276
277## Freshness Rule (2026)
278
279When asked for “latest” prompting recommendations, prefer provider docs and standards from `data/sources.json`. If web search is unavailable, state the constraint and avoid overconfident “current best” claims.
280
281---
282
283## Related Skills
284
285This skill provides foundational prompt engineering patterns. For specialized implementations:
286
287**AI/LLM Skills**:
288
289- [AI Agents Development](../ai-agents/SKILL.md) - Production agent patterns, MCP integration, orchestration
290- [AI LLM Engineering](../ai-llm/SKILL.md) - LLM application architecture and deployment
291- [AI LLM RAG Engineering](../ai-rag/SKILL.md) - Advanced RAG pipelines and chunking strategies
292- [AI LLM Search & Retrieval](../ai-rag/SKILL.md) - Search optimization, hybrid retrieval, reranking
293- [AI LLM Development](../ai-llm/SKILL.md) - Fine-tuning, evaluation, dataset creation
294
295**Software Development Skills**:
296
297- [Software Architecture Design](../software-architecture-design/SKILL.md) - System design patterns
298- [Software Backend](../software-backend/SKILL.md) - Backend implementation
299- [Foundation API Design](../dev-api-design/SKILL.md) - API design and contracts
300
301---
302
303## Usage Notes
304
305**For Claude Code**:
306
307- Reference this skill when building prompts for agents, commands, or integrations
308- Use Quick Reference table for fast pattern lookup
309- Follow Decision Tree to select appropriate pattern
310- Validate outputs with Quality Checklists before deployment
311- Use templates as starting points, customize for specific use cases
312
313**For Codex CLI**:
314
315- Use the same patterns and templates; adapt tool-use wording to the local tool interface
316- For long-horizon tasks, track progress explicitly (a step list/plan) and update it as work completes
317- Run independent reads/searches in parallel when the environment supports it; keep writes/edits serialized
318- **AGENTS.md Integration**: Place project-specific prompt guidance in AGENTS.md files at global (~/.codex/AGENTS.md), project-level (./AGENTS.md), or subdirectory scope for layered instructions
319- **Reasoning Effort**: Use `medium` for interactive coding (default), `high`/`xhigh` for complex autonomous multi-hour tasks