ai-engineer
Skill2 starsChanged 7 days agoMITView on GitHub
Use when designing, building, evaluating, or auditing AI/LLM integrations, prompt pipelines, model drift, probabilistic traits, or AI agentic threats.
22 other projects use a version of this.
Adopted by
Most recently taken up by
- iberi22/skillstheir own version, first seen Oct 15, 2026
- Echo-Scion/portable-brainvibingword for word, first seen Oct 15, 2026
- xfstudio/skillstheir own version, first seen Oct 13, 2026
- kid-sid/claude-spellbooktheir own version, first seen Oct 9, 2026
- aiDotEngineer/skillstheir own version, first seen Sep 12, 2026
- cdgutierrez6/claude-skillstheir own version, first seen Aug 21, 2026
Used with
Projects with it also use database-design and frontend-design.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
harrissohail6Skilldatabase-design
Database schema design and SQL best practices. Use when designing tables, writing queries, or optimizing database performance.
Also in 3 projects that use this
BlockSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Also in 3 projects that use this
Other versions22 projects use a version of this.
Word for word · 1
- Echo-Scion/portable-brainvibing★ 2100% same
Edited · 0
None found.
Wrote their own version · 21
- kid-sid/claude-spellbook★ 190same name
- jshsakura/awesome-opencode-skills★ 30same name
- aiunlocked1412/claude-skill-unlock★ 18same name
- belokonm/claude-supercode-skills★ 11same name
- rade-nugroho/Agentic-Enteprises-Skill★ 9same name
- xfstudio/skills★ 9same name
- aiDotEngineer/skills★ 8same name
- daemon-blockint-tech/Agentic-Enteprises-Skill★ 8same name
- marttp/my_agent_skills_I_use★ 4same name
- ai4brands-design/claude-skills★ 2same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-contractSkill
- app-lifecycleSkill
- brain-graphSkill
- code-reviewSkill
- cost-optimizerSkill
- data-logicSkill
- feature-discoverySkill
- frontend-experienceSkill
- integrity-sentinelSkill
- meta-agent-adminSkill
- paletteSkill
- project-architectSkill
- project-operatorSkill
- saas-strategistSkill
- self-evolveSkill
- session-offloadSkill
- strict-tddSkill
- systematic-debuggingSkill
- ui-finishSkill
- worker-delegateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 8 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Use python .agents/scripts/orion.py reflexion for declarative reflection and Reflexion history.
- Distinctive: line 22
Assertion Matrix: Every AI output MUST pass through a strict, zero-tolerance deterministic validation layer (such as a Zod schema, absolute …
- Distinctive: line 24
If validation fails, do not raise an application error immediately.
- Distinctive: line 26
If all retries fail, the system MUST bypass the AI entirely and execute a hardcoded, deterministic Fallback Value (e.g., historical …
- Distinctive: line 36
Sanitization Gate: All input data destined for an AI prompt or model layer must pass through a strict cleaning pipeline:
- Distinctive: line 40
Context Verification: Verify that the context window actually contains the target data.
- Distinctive: line 69
When deploying a new model version, route a small fraction of traffic (e.g., 1-5%) to both the *production model* and the *shadow model* …
- Very specific: line 81
Confidence Gate: Every predictive or agentic action must calculate or receive a confidence_score (0.0 to 1.0).
- Very specific: line 83
Fully Automated Path: If confidence_score >= 0.90, execute the action immediately.
- Very specific: line 84
Human-in-the-Loop (HITL) Path: If 0.70 <= confidence_score < 0.90, pause the automated execution.
- Very specific: line 85
Absolute Fallback Path: If confidence_score < 0.70, abort the action immediately, trigger a loud system alert, and activate the …
- Distinctive: line 94
Dynamic Batching: Do not trigger model inference for every atomic micro-event.
- Distinctive: line 97
If cache misses, escalate to a fast, medium-tier API model (e.g., Gemini Flash).
- Very specific: line 99
Rate-Limit Backoff: All remote model wrappers MUST implement a Truncated Exponential Backoff with Jitter retry mechanism to gracefully …
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
🧠 AI Engineering Standards & Mitigating AI Limitations
Use python .agents/scripts/orion.py reflexion for declarative reflection and Reflexion history. commands/pulsar.py connects structured prompt patterns to deterministic execution chains.
Developing applications that integrate Artificial Intelligence requires a radical departure from traditional, deterministic software engineering. Model outputs are probabilistic, opaque, and highly dependent on live context.
Rather than relying on passive prompt commands (e.g., "do not hallucinate"), developers and agents MUST implement active engineering algorithms, architectural structures, and operational tricks to force system predictability and resilience.
1. The Assertion Matrix & Deterministic Shadow (Mitigating: Probabilistic Nature)
Unlike functions that return guaranteed results, LLM and ML model outputs fluctuate. To lock down behavior, all AI calls must be treated as untrusted inputs and validated deterministically.
The Algorithm:
- Assertion Matrix: Every AI output MUST pass through a strict, zero-tolerance deterministic validation layer (such as a Zod schema, absolute regex pattern, or JSON parsing constraint) before reaching downstream logic.
- Deterministic Shadow Loop:
- If validation fails, do not raise an application error immediately.
- Automatically trigger a Self-Correction Retry Loop (up to a maximum of 3 attempts). Each retry must feed the specific parser error/validation failure back into the model's prompt.
- If all retries fail, the system MUST bypass the AI entirely and execute a hardcoded, deterministic Fallback Value (e.g., historical average, a static rule, or safe default).
- Seed Locking: In test or production environments requiring regression testing, developers must explicitly lock random seeds (
seedparameter) and settemperature = 0.0for structural data generation, while keeping higher temperatures reserved strictly for open-ended creative tasks.
2. Ingestion Sanitization Pipeline (Mitigating: GIGO - Garbage In, Garbage Out)
AI models have no inherent "common sense" and will confidently process noisy, malicious, or malformed data, leading to catastrophic downstream failures.
The Algorithm:
- Sanitization Gate: All input data destined for an AI prompt or model layer must pass through a strict cleaning pipeline:
- Type Enforcement: Force variable casting (e.g., coercion of numerical representations to floats to avoid string concatenation).
- NaN/Null Purging: Replace nulls, infinite values, or
NaNoutputs in upstream datasets with median statistical value fallbacks or explicit placeholder structures (e.g.,0.0or"UNKNOWN"). - Truncation and Token Budgeting: Enforce length limits on strings (e.g.,
value[:max_chars]) to prevent buffer bloat or context window exhaustion.
- Context Verification: Verify that the context window actually contains the target data. If context length analysis indicates the model will likely suffer from lost in the middle syndrome, slice the data into semantic chunks rather than feeding one giant raw dump.
3. Structured Trace & Explainability Hook (Mitigating: Black Box / Opacity)
Deep learning networks and large language models represent complex mathematical matrices whose literal nodes and decimal weights carry zero semantic meaning to human auditors.
The Algorithm:
- Trace Structuring: AI interaction endpoints must use structured output models (e.g., JSON mode or Tool Calling) that force the model to output a dual-layer response:
{ "decision": "ACTION_OR_PREDICTION", "confidence": 0.92, "critical_features": ["item_1", "item_2"], "logic_trail": "Step-by-step reasoning explaining how the decision was derived." } - Monotonic Verification: The parsing pipeline must verify that
logic_trailsupportsdecision. If thelogic_trailcontradicts thedecision, the interaction must be discarded as a logic anomaly, triggering a rerun or manual audit. - State Logging: Persist all raw prompts, structured responses, model metadata, and latency metrics in a dedicated SQLite/WAL database or structured JSON log for post-mortem auditing.
4. Shadow Testing & sliding Window Calibration (Mitigating: Model Drift)
As the real world changes, a static model's accuracy deteriorates (Concept/Data Drift). Unlike normal code, the system will not crash; it will simply emit progressively worse predictions.
The Algorithm:
- Shadow Deployment (T-Parallel Execution):
- When deploying a new model version, route a small fraction of traffic (e.g., 1-5%) to both the production model and the shadow model simultaneously.
- Log both outputs and calculate a Divergence Score (e.g., using Population Stability Index or Jaccard similarity).
- Dynamic Alerting: Trigger system alerts if the Divergence Score exceeds a predetermined threshold (e.g., > 0.2) or if the overall accuracy compared to real-world ground truth drops below the target SLA.
- Sliding Window Retraining: Schedule regular, automated data pipeline windows (e.g., monthly) that ingest the last $N$ days of fresh interaction data while evicting stale data, ensuring the model's training data remains fresh without manual intervention.
5. Confidence Threshold HITL Gate (Mitigating: False Confidence / Edge Cases)
AI models are structurally incapable of stating "I do not know" unless explicitly guided, preferring to generate highly confident but entirely fabricated (hallucinated) responses when encountering out-of-distribution (OOD) data.
The Algorithm:
- Confidence Gate: Every predictive or agentic action must calculate or receive a
confidence_score(0.0 to 1.0). - Threshold Routing:
- Fully Automated Path: If
confidence_score >= 0.90, execute the action immediately. - Human-in-the-Loop (HITL) Path: If
0.70 <= confidence_score < 0.90, pause the automated execution. Create an interactive ticket/log containing the AI's plan, the inputs used, and a quick-action approve/deny option, routing it to a human reviewer. - Absolute Fallback Path: If
confidence_score < 0.70, abort the action immediately, trigger a loud system alert, and activate the deterministic fallback logic.
- Fully Automated Path: If
6. Resource Budgeting & Batching (Mitigating: Computational Hunger)
Matrix multiplication, model inference, and vector search operations are mathematically demanding, leading to slow response times, API rate-limiting, and skyrocketing infrastructure costs.
The Algorithm:
- Dynamic Batching: Do not trigger model inference for every atomic micro-event. Implement a buffer layer that accumulates requests and runs them in efficient batches (e.g., every 5 seconds or when the batch size reaches 100 entries).
- Tiered Service Routing: Implement a tiered fallback for model queries:
- Try a highly optimized, small local model or cache database (e.g., SQLite lookup, Redis cache) first.
- If cache misses, escalate to a fast, medium-tier API model (e.g., Gemini Flash).
- Reserve highly expensive frontier models (e.g., Gemini Pro) strictly for critical, complex decision layers.
- Rate-Limit Backoff: All remote model wrappers MUST implement a Truncated Exponential Backoff with Jitter retry mechanism to gracefully handle
429 Too Many Requestsstatus codes without thread blocking.
📚 On-Demand Reference Sitemap
Load these specialized runbooks via read_file when handling security audits, adversary threats, or untrusted skill analysis:
- AI/LLM Attack Vectors & Mitigations:
.agents/skills/integrity-sentinel/references/ai_llm_attacks.md(Prompt injection, RAG poisoning, slopsquatting, agent goal hijacking, MCP tool-call exploits). - Skill & Package Guard:
.agents/skills/integrity-sentinel/references/skill_inspector.md(Auditing untrusted agents, malicious packages, and prompt injections).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

