Works with the AI tools you already use
Code Context Engineering
by Roy Yuen
A high-precision pre-coding gate that detects conflicting requirements and prevents agents from making wrong assumptions.
Secure checkout via Stripe
See it in action
You say
Refactor the user status logic. I need to force an update to the user status directly in SQL to bypass the current validation lag.
Your agent does
Context Sources:
- Project rules: AGENTS.md (No direct DB edits)
- User request: "Force update user status in SQL"
- Existing code: UsersController.js (Uses Repository pattern)
Gate Status: blocked_by_rule Reason: Direct SQL edits are forbidden by project_rules. I can use the UserRepo instead.
What you get
About this skill
What it does
Code Context Engineering is a high-precision pre-flight skill for AI agents that prevents "wrong-task" failures. Before a single line of code is written, it forces the agent to inventory disparate sources—including repository rules, user requests, existing codebases, external documentation, and historical chat memory—to identify contradictions, stale instructions, or missing criteria.
Why use this skill
Standard LLM prompting often results in "hallucinated intent" where agents guess how to resolve conflicting requirements. This skill replaces guesswork with a formal Conflict Gate. It enforces a "stop-and-ask" protocol if choosing a path would materially alter scope, safety, or data integrity. It builds a source-of-truth contract that ensures the downstream implementation is actually what the developer needs, not just what the agent inferred.
Supported workflows
- Complex Refactoring: Ensures existing behavior is preserved unless explicitly targeted for change.
- Feature Migrations: Detects version drift between installed packages and external documentation.
- Architecture Planning: Aligns current requests with long-term project rules and memory.
- Issue Triage: Identifies when ticket requirements are insufficient to begin coding.
The Output
The skill produces a Context Ledger with confidence labels and a Gate Status (Clear, Blocked, or Needs Verification). If blocked, it generates a high-signal, "low-AI-smell" clarification request that pinpoints the exact sources in conflict.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 3 months ago
- 30-day refund guarantee
- One-time purchase, yours forever
- Secure checkout via Stripe
Creator
1092+ total installs · 111 skills on Agensi
Frequently Asked Questions
Popular in AI Agents & LLM Ops

AI Coding Prompt Refiner for Better Developer Results
Transforms vague coding requests into precise, scoped, testable, AI-ready prompts for Cursor, Claude Code, Codex CLI, Replit, and other coding agents.
agentic-workflow
A risk-aware, evidence-based engineering lifecycle protocol for robust agentic task execution and safety.

prompt-engineer
Professional prompt engineering patterns for building robust, secure, and production-ready LLM applications.
skill-creator
The "Skill for building Skills": Automate creating, testing, and optimisation of custom workflows.