OpenParable
Skip to content
← Back to skills

AI Context

Agent Building
ai-context

AI Context is an Agent Skill for agent building published in the sopaco/deepwiki-rs repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Project knowledge base for coding agents. Activate when: (1) starting a new session in this project, (2) encountering unfamiliar code patterns or architecture decisions, (3) user asks about project design or rationale, (4) before making significant structural changes. Contains tiered knowledge from stable design principles to dynamic issues.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/sopaco/deepwiki-rs/blob/HEAD/.ai-context/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ai-context, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

AI Context — Litho (deepwiki-rs)

This skill provides pre-generated project knowledge to help you understand the project faster and work more effectively.


🎯 When to Activate This Skill

Activate immediately when:

  • Starting a new coding session in this project
  • You need to understand "why something is designed this way"
  • User asks about project architecture, design decisions, or constraints

Refer to specific sections when:

  • Encountering unexpected behavior or errors → DYNAMICS.md
  • Planning structural changes → references/DECISIONS.md
  • Need high-level overview → references/PROJECT-ESSENCE.md
  • Need component relationships → references/ARCHITECTURE.md

Do NOT activate when:

  • Simple code edits with clear context
  • User requests are purely mechanical (rename, format, etc.)
  • You already have sufficient context from recent conversation

📁 Knowledge Tiers

This skill organizes knowledge by stability — how frequently the knowledge changes:

TierFileStabilityUpdate Frequency
Tier 0PROJECT-ESSENCE.mdHighQuarterly / Major version
Tier 1ARCHITECTURE.mdMediumMonthly / Sprint
Tier 2DECISIONS.mdLowPer decision change
Tier 3DYNAMICS.mdDynamicAs needed (issues, incidents)

Reading Order (Recommended)

1. PROJECT-ESSENCE.md  ← Start here (1-2 min read)
2. ARCHITECTURE.md     ← If working across components
3. DECISIONS.md        ← If changing established patterns
4. DYNAMICS.md         ← If something feels wrong

🔧 How to Use This Knowledge

1. Session Start Protocol

□ Read PROJECT-ESSENCE.md (always)
□ Scan DYNAMICS.md for active issues
□ Read ARCHITECTURE.md if working across subprojects
□ Proceed with dynamic code exploration

2. Dynamic Code Exploration

This knowledge is a starting point, not a replacement for reading code:

  • Use grep and find_path to locate actual implementations
  • Verify knowledge against current code state
  • Update knowledge if you find drift (see Maintenance section)

3. Decision Validation

Before changing established patterns:

□ Check DECISIONS.md for existing decisions
□ If decision exists: follow it or explicitly propose change
□ If new decision needed: document after implementation

🔄 When to Update This Knowledge

Update PROJECT-ESSENCE.md when:

  • Project purpose or scope fundamentally changes
  • New major capability is added
  • Core user workflow changes

Update ARCHITECTURE.md when:

  • New component/subproject added
  • Component responsibilities shift
  • Data flow changes significantly
  • API contracts change

Update DECISIONS.md when:

  • A new design decision is made (especially if non-obvious)
  • An existing decision is revisited/changed
  • A trade-off is resolved differently

Update DYNAMICS.md when:

  • New issue discovered that blocks normal workflow
  • Workaround found for existing issue
  • Issue is resolved
  • Temporary constraint is added/removed

⚠️ Important Principles

  1. Knowledge is a guide, not truth — Always verify against actual code
  2. Update responsibly — Stale knowledge is worse than no knowledge
  3. Keep it high-level — Details belong in code comments
  4. Trust dynamic exploration — Use tools to find current state

📚 File Reference


🔗 Integration with AGENTS.md

This skill complements AGENTS.md in the project root:

FilePurposeWho writes
AGENTS.mdOperational rules, commands, styleProject maintainers
.ai-context/Pre-generated knowledgeSystem / Auto-generated

Both should be read at session start. AGENTS.md tells you how to work, .ai-context tells you what the project is.


Generated by ai-context-generator skill