# Prompt Engineering 3 Provide Context

> Sub-skill of prompt-engineering: 3. Provide Context (+1).

- Skill: `vamseeachanta/prompt-engineering-3-provide-context` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/prompt-engineering-3-provide-context`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/prompt-engineering-3-provide-context/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/prompt-engineering-3-provide-context

---


# 3. Provide Context (+1)

## 3. Provide Context


```python
# Include relevant background
context = """
This is a mooring analysis for an FPSO in the Gulf of Mexico.
Water depth: 1500m
Mooring type: Polyester-chain hybrid
Design life: 25 years
Applicable standard: API RP 2SK 4th Edition
"""
```

## 4. Iterate Based on Failures


```python
# Keep track of failures
failures = []

def log_failure(prompt, expected, actual, notes):
    failures.append({
        "prompt": prompt,
        "expected": expected,
        "actual": actual,
        "notes": notes

*See sub-skills for full details.*

