autosnippet-guard

Recommend inserting // as:audit to audit code against project standards.

2|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/GxFn/AutoSnippet --skill autosnippet-guard
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: autosnippet-guard
Source: https://github.com/GxFn/AutoSnippet/tree/main/skills/autosnippet-guard
Command: npx skills add https://github.com/GxFn/AutoSnippet --skill autosnippet-guard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you quickly determine whether the current file complies with established project standards and prompts you to enable automated auditing with // as:audit, ensuring consistent quality across the codebase.

Core Features & Use Cases

  • Automated audit prompts: Recommend inserting // as:audit on save or when the file is edited to trigger repository-wide checks against Recipes and knowledge-base context.
  • Context-aware guidance: Uses the same Recipe content used for suggestions to drive in-code audits, aligning code with project standards.
  • On-demand assistance: Works with MCP/Guard workflows when asd ui/watch are running, enabling seamless audits during development.

Quick Start

In your project, enable the skill by saving a file after implementing the audit recommendation or invoking the Guard prompt. Ensure asd watch/ui is running to allow real-time auditing and recommendation.

Frequently Asked Questions about autosnippet-guard

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

FAQPage Schema
How do I audit code against project standards during development?▼

To audit code against project standards, you insert the `// as:audit` action in your source files. This triggers repository-wide checks against your established Recipes and knowledge-base context during editing and saving.

What is the `// as:audit` action for code review?▼

The `// as:audit` action is an in-editor trigger that initiates automated code review checks. It evaluates the current file against project standards and Recipe content to ensure consistent codebase quality.

How do I enable real-time code audits on file save?▼

You enable real-time code audits by saving a file after inserting the `// as:audit` recommendation. This requires the AutoSnippet environment and running `asd watch/ui` to process Guard workflows via MCP.

Do I need the AutoSnippet environment to run project standard audits?▼

Yes, you need the AutoSnippet environment to run project standard audits. The Skill specifically requires this environment along with access to Guard workflows via MCP, Watch/UI, and the project Recipe context to function.

How does context-aware guidance work for code audits?▼

Context-aware guidance uses the exact same Recipe content for audits that it uses for code suggestions. This aligns your source files with project knowledge-base standards and ensures consistency across the entire repository.

Can I use Guard workflows to check source file compliance on demand?▼

Yes, you can check source file compliance on demand using Guard workflows. When `asd ui/watch` is running, you can invoke the Guard prompt to perform seamless, context-aware audits during your development process.