lg-critical-advisor

Halt agentic coding pipelines upon security violations or understanding gaps.

1|1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/AshishYesale7/LGFlutterStarterKit --skill lg-critical-advisor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lg-critical-advisor
Source: https://github.com/AshishYesale7/LGFlutterStarterKit/tree/main/.agent/skills/lg-critical-advisor
Command: npx skills add https://github.com/AshishYesale7/LGFlutterStarterKit --skill lg-critical-advisor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill acts as a global guardrail, preventing cargo-cult coding, enforcing engineering rigor, and halting execution when understanding gaps or security violations are detected across all stages of the pipeline.

Core Features & Use Cases

  • Prevents Cargo-Cult Coding: Ensures code is understood before implementation.
  • Enforces Security Hygiene: Blocks insecure practices like storing secrets in plain text.
  • Demands Simplicity: Rejects over-engineered solutions.
  • Halts on Missing Understanding: Stops execution if the user cannot explain the 'why'.
  • Use Case: If an agent attempts to hardcode an API key or if a developer tries to implement complex logic without explaining its necessity, the Critical Advisor will intervene, ask clarifying questions, and potentially halt the process until understanding is demonstrated.

Quick Start

Engage the Critical Advisor to verify the understanding of the data flow for KML generation.

Frequently Asked Questions about lg-critical-advisor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce engineering rigor and prevent cargo-cult coding in agentic programming pipelines?

To enforce engineering rigor and prevent cargo-cult coding in agentic programming pipelines, implement a global guardrail that challenges assumptions and halts execution if code understanding is missing. This ensures code is fully comprehended before implementation proceeds.

How do I halt execution automatically when security violations like hardcoded secrets are detected?

To halt execution automatically when security violations like hardcoded secrets are detected, deploy a pipeline guardrail that audits security hygiene. It intervenes by asking clarifying questions and stopping the process until secure practices are demonstrated.

What is the best way to prevent over-engineered solutions and demand simplicity in automated code generation?

The best way to prevent over-engineered solutions and demand simplicity in automated code generation is using an execution guardrail that rejects complex logic. It forces the pipeline to justify the necessity of any complicated implementation before proceeding.

Can I validate understanding of data flow before generating code in an agentic pipeline?

Yes, you can validate understanding of data flow before generating code in an agentic pipeline by engaging a critical advisor guardrail. It verifies data flow comprehension and halts execution if the user cannot explain the why behind the logic.

When should I not use a global guardrail that halts execution on missing understanding?

You should not use a global guardrail that halts execution on missing understanding for rapid prototyping or experimental coding where iterative trial and error is required. Halting execution demands fully reasoned explanations before any code generation step.