Agent skill

AI Code Generation Guardrails

by sickn33 in sickn33/agentic-awesome-skills

Autonomous AI code generation safety guardrail register: static AST analysis, forbidden import filters, and zero-day vulnerability checks.

MITAuto-check passedAI & LLM Engineering

Install AI Code Generation Guardrails

skills CLI
$ npx skills add sickn33/agentic-awesome-skills --skill ai-code-generation-guardrails -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sickn33/agentic-awesome-skills ai-code-generation-guardrails --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ai-code-generation-guardrails .claude/skills/ai-code-generation-guardrails && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ai-code-generation-guardrails
GitHub stars
47k
Used in
1 other repo
Token cost
~1.4k tokens
SKILL.md length
517 words
Files
1
Skills in repo
1,354
Repo updated
First seen
Licence
MIT

At a glance

Autonomous AI code generation safety guardrail register: static AST analysis, forbidden import filters, and zero-day vulnerability checks.

  • Works in 3 steps: Define the parameters, thresholds, and… → Select appropriate boundary enforcement… → Export standardized artifacts (CSV…
  • Tasks that involve LLM guardrails
  • SKILL.md covers Overview, When to Use This Skill, How It Works and Field Reference, plus 9 more sections
  • Calls python

What it does

AI Code Generation Guardrails is an agent skill from sickn33/agentic-awesome-skills. Autonomous AI code generation safety guardrail register: static AST analysis, forbidden import filters, and zero-day vulnerability checks.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering LLM guardrails. It works with SQL. The repository describes itself as: AAS Core is the local, agent-first control plane for complete catalog discovery, agent-owned selection, stack validation, and planning, backed by 2,400+ agentic skills. Includes… The licence is MIT.

When your agent uses it

  • Tasks that involve LLM guardrails

Example prompts

  • “/ai-code-generation-guardrails”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Define the parameters, thresholds, and identity bindings required for the target operational register.
  2. Select appropriate boundary enforcement values from validated enum select sets.
  3. Export standardized artifacts (CSV table, SQL DDL, JSON Schema) to integrate into validation CI pipelines.

What it can do on your machine

Read from SKILL.md and the folder at commit ec02547. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

AI Code Generation Guardrails loads about 1.4k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 517 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sickn33/agentic-awesome-skills at commit ec02547, republished under its MIT licence (© sickn33). 517 words, ~1,404 tokens.

Download SKILL.mdSave it as .claude/skills/ai-code-generation-guardrails/SKILL.md (or your agent's skills folder).
name
ai-code-generation-guardrails
description
Autonomous AI code generation safety guardrail register: static AST analysis, forbidden import filters, and zero-day vulnerability checks.
category
engineering
risk
safe
source
self
source_type
self
date_added
2026-10-01
author
Ranjeet2063
tags
ai, security, guardrails, ast, code-quality, devsecops
source_repo
Ranjeet2063/agentic-awesome-skills

AI Code Generation Security Guardrails

What it is: Defines automated AST validation filters, forbidden pattern checks, and boundary invariants for code synthesized by generative AI models.

Overview

Provides a standardized, auditable framework and data model for AI Code Generation Security Guardrails operations across distributed engineering and decentralized application systems.

When to Use This Skill

  • When formalizing architectural contracts, security invariants, or operational limits for AI Code Generation Security Guardrails.
  • When cross-functional review is required between protocol developers, smart contract auditors, and AI engineering agents.
  • When generating reproducible CSV, SQL DDL, JSON Schema, and Notion property registers for tracking compliance.

How It Works

  1. Define the parameters, thresholds, and identity bindings required for the target operational register.
  2. Select appropriate boundary enforcement values from validated enum select sets.
  3. Export standardized artifacts (CSV table, SQL DDL, JSON Schema) to integrate into validation CI pipelines.

Field Reference

#Field NameTypeSQL TypeJSON Schema TypeNotion Property TypeExample Value
1Guardrail Policy IDidSERIAL PRIMARY KEYintegerTextSEC-001
2Target Language PipelineselectVARCHAR(32)stringSelectRust (Soroban)
3AST Security ScannertextVARCHAR(64)stringTextcargo-audit & clippy
4Dangerous Primitives FilterselectVARCHAR(16)stringSelectYes
5Disallowed Unsafe BlocksselectVARCHAR(16)stringSelectEnforced Strict
6Reentrancy Detection RuleselectVARCHAR(32)stringSelectCEI Pattern Enforced
7Prompt Injection ProtectionselectVARCHAR(32)stringSelectDual-Layer Boundary
8Max Allowed Cyclomatic ComplexitynumberINTEGERnumberNumber15
9Pipeline Enforcement StatusselectVARCHAR(32)stringSelectBlocking CI Gate
10Lead Security EngineertextVARCHAR(64)stringTextRanjeet2063
11Policy Verification DatedateDATEstring, format: dateDate2026-10-01

Select Options

Target Language Pipeline

Rust (Soroban) | TypeScript (React) | Solidity (EVM) | Python (FastAPI)

Dangerous Primitives Filter

Yes | No

Disallowed Unsafe Blocks

Enforced Strict | Warning Permissive

Reentrancy Detection Rule

CEI Pattern Enforced | Mutex Lock | Unchecked

Prompt Injection Protection

Dual-Layer Boundary | Heuristic Filter | None

Pipeline Enforcement Status

Blocking CI Gate | Advisory Only | Disabled

Relations

  • Audit Reference -> links to the formal review documentation or test repository.
  • Target Architecture -> links to the deployed contract or autonomous agent runtime component.
Show full SKILL.md (203 more words)Show less

Examples

Prompt

How do I configure and track AI Code Generation Security Guardrails for our production environment?

Recommended Next Step

Generate the unified field schema, SQL DDL migration, and JSON validation schema to register into your system catalog.

Workflow: Define criteria -> Run automated verification -> Record baseline -> Monitor invariants.

Best Practices

  • Enforce strict typing on numerical bounds and currency amounts; avoid unstructured free-text fields for critical states.
  • Re-run validation test suites on every state-altering commit or parameter change.
  • Keep example data synthetic and isolated from production cryptographic keys or private endpoints.

Limitations

  • Provides architectural specifications, data models, and verification schemas; does not execute direct transaction signing without authorized external tooling.
  • Requires network connectivity and valid RPC credentials when querying on-chain states.

Security & Safety Notes

  • All parameters declare risk: safe. No unauthorized state modification or privileged credential access is performed.
  • Use synthetic dummy keys and mock addresses in test suites and local verification scripts.

Common Pitfalls

  • Problem: Mismatched decimal precision between contract runtime and database register. Solution: Always verify decimals using the explicit field mapping in this reference.
  • Problem: Missing authorization checks prior to state update. Solution: Cross-validate against the Security Audit register before deployment.
  • @ai-agent-tool-routing - covers tool schema registration and retry policy.
  • @ai-agent-evaluation-benchmarking - covers task-completion and cost benchmarking.
  • @ai-prompt-regression-testing - covers prompt regression baselines and drift.

Reusable Prompt

I want to establish a verified AI Code Generation Security Guardrails register for our production protocol.
Guide me through the required field parameters and output the corresponding SQL DDL and JSON Schema.

© sickn33, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/ai-code-generation-guardrails of sickn33/agentic-awesome-skills.

Open the folder on GitHubat commit ec02547

Used in 1 other repository

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sickn33/agentic-awesome-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

AI Code Generation Guardrails next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

AI Code Generation Guardrails compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AI Code Generation Guardrails this skillsickn33/agentic-awesome-skills47k1 repos~1.4kAutomated safety check: PassMIT
ObliteratusRedWoodOG/Hermes-Desktop1776 repos~3.8kAutomated safety check: PassMIT
AI ToolsDbxstudio/dbx-studio1032 repos~643Automated safety check: PassApache-2.0
Autorag QueryNomaDamas/AutoRAG-Research149—~1.6kAutomated safety check: NotesApache-2.0
Lemonade Router Builderamd/skills398—~4kAutomated safety check: PassMIT
Wp Project Triagegambitph/Stackable3504 repos~371Automated safety check: PassGPL-3.0

Similar skills

  • Obliteratus

    RedWoodOG/Hermes-Desktop

    Remove refusal behaviors from open-weight LLMs using OBLITERATUS — mechanistic interpretability techniques (diff-in-means, SVD, whitened SVD, LEACE, SAE decomposition, etc.) to excise guardrails…

    177 GitHub starsUsed in 6 repos~3.8k tokens
    AI & LLM EngineeringAuto-check passed
  • AI Tools

    Dbxstudio/dbx-studio

    Reference for all AI tools available in DBX Studio's AI chat system.

    103 GitHub starsUsed in 2 repos~643 tokens
    AI & LLM EngineeringAuto-check passed
  • Autorag Query

    NomaDamas/AutoRAG-Research

    Query AutoRAG-Research pipeline results using natural language.

    149 GitHub stars~1.6k tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check: notes
  • Turns a natural-language description of routing intent into a valid Lemonade collection.router policy JSON.

    398 GitHub stars~4k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Wp Project Triage

    gambitph/Stackable

    A skill your agent uses when you need a deterministic inspection of a WordPress repository (plugin/theme/block theme/WP core/Gutenberg/full site) including tooling/tests/version hints, and a…

    350 GitHub starsUsed in 4 repos~371 tokens
    AI & LLM EngineeringAuto-check passed
  • Aisafetyhot

    wuyoscar/AISafetyHot-Hub

    Read AI Safety HOT daily digests, search recent AI safety research and incidents, and follow current hot topics.

    224 GitHub stars~774 tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from sickn33/agentic-awesome-skills

All 1,354 skills in this repo
  • Liuguang Banlan UI

    sickn33/agentic-awesome-skills

    Implements an interface in one of two named color modes, iridescent white or colorful black, from a parameterized starter that reports measured color intensity.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • User Thoughts Memory

    sickn33/agentic-awesome-skills

    Saves a user's project decisions, rules and preferences into a project-local mdbase so later sessions and other agents can recover the intent.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Using LWC Memory and Graphs

    sickn33/agentic-awesome-skills

    Keeps project decisions, research and verified results available across coding-agent sessions through LWC memory, a document Wiki graph and a CodeGraph code index.

    47k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Find Complementary Founders

    sickn33/agentic-awesome-skills

    Guides an agent through assessing its own owner for cofounder fit, publishing an approved profile, and ranking complementary profiles other agents published for their owners.

    47k GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check passed
  • Cline Pilot

    sickn33/agentic-awesome-skills

    Acts as a proxy for the Cline CLI, dispatching coding tasks one at a time, monitoring runs by hard evidence, relaying decisions to you and learning per-project preferences.

    47k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed
  • Content Creator

    sickn33/agentic-awesome-skills

    Drafts and reviews audience-specific content from supplied brand examples, with local scripts for brand voice and SEO diagnostics, channel templates and a content calendar.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed

Works with

Questions about AI Code Generation Guardrails

What does AI Code Generation Guardrails do?

Autonomous AI code generation safety guardrail register: static AST analysis, forbidden import filters, and zero-day vulnerability checks. AI Code Generation Guardrails is an agent skill from sickn33/agentic-awesome-skills. Autonomous AI code generation safety guardrail register: static AST analysis, forbidden import filters, and zero-day vulnerability checks.

When should I use AI Code Generation Guardrails?

AI Code Generation Guardrails fits situations like: tasks that involve LLM guardrails.

How do I install AI Code Generation Guardrails in Claude Code?

Run `npx skills add sickn33/agentic-awesome-skills --skill ai-code-generation-guardrails -a claude-code`. Or copy the skill folder (skills/ai-code-generation-guardrails in sickn33/agentic-awesome-skills) into .claude/skills/ai-code-generation-guardrails in your project. Claude Code loads it when a task matches its description.

How do I install AI Code Generation Guardrails in Codex?

Run `npx skills add sickn33/agentic-awesome-skills --skill ai-code-generation-guardrails -a codex`. Or copy the skill folder (skills/ai-code-generation-guardrails in sickn33/agentic-awesome-skills) into .agents/skills/ai-code-generation-guardrails in your project. Codex loads it when a task matches its description.

Can I use AI Code Generation Guardrails in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sickn33/agentic-awesome-skills --skill ai-code-generation-guardrails -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-code-generation-guardrails, .gemini/skills/ai-code-generation-guardrails, .github/skills/ai-code-generation-guardrails and .opencode/skills/ai-code-generation-guardrails in your project.

What does AI Code Generation Guardrails need to run?

Going by SKILL.md and its folder, AI Code Generation Guardrails needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does AI Code Generation Guardrails access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is AI Code Generation Guardrails safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does AI Code Generation Guardrails use?

AI Code Generation Guardrails is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does AI Code Generation Guardrails use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to AI Code Generation Guardrails?

Skills that share tags, products or a category with AI Code Generation Guardrails: Obliteratus (RedWoodOG/Hermes-Desktop, 177 stars), AI Tools (Dbxstudio/dbx-studio, 103 stars), Autorag Query (NomaDamas/AutoRAG-Research, 149 stars) and Lemonade Router Builder (amd/skills, 398 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AI Code Generation Guardrails?

sickn33 (a GitHub user) maintains it in sickn33/agentic-awesome-skills, which has 47,343 GitHub stars. The repository holds 1,354 skills in this directory. The repository was last updated on October 7, 2026.

Source: sickn33/agentic-awesome-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.