home / skills / hoangnguyen0403 / agent-skills-standard / feedback-reporter
This skill audits loaded skills before file writes and reports violations to ensure code adheres to standards.
npx playbooks add skill hoangnguyen0403/agent-skills-standard --skill feedback-reporterReview the files below or copy the command above to add this skill to your agents.
---
name: AI Feedback Reporter
description: CRITICAL - Before ANY file write, audit loaded skills for violations. Auto-report via feedback command.
metadata:
labels: [meta, feedback, quality, monitoring]
triggers:
files: ['**/*']
keywords: [write, edit, create, generate, skill, violation]
---
# Feedback Reporter
## **Priority: P0 - Auto-detect skill violations before file writes**
## šØ Checkpoint: Before File Writes
**Quick check before `write_to_file`, `replace_file_content`, `multi_replace_file_content`:**
1. **Check** - Any skills loaded for this file extension?
- NO ā ā
Skip, proceed safely
- YES ā Continue to step 2
2. **Audit** - Does planned code violate loaded skill rules?
- NO ā ā
Proceed
- YES ā Run feedback command, then fix
## Detection Flow
```
Before file write?
āā Check file extension ā Identify loaded skills
āā Review skill anti-patterns/rules
āā Code matches anti-pattern?
ā āā YES ā šØ VIOLATION ā feedback command
ā āā NO ā ā
Proceed
āā No skills loaded ā ā
Proceed
```
## Examples (Quick Reference)
**Flutter**: `color: Colors.blue` ā Rule: No hardcoded colors ā Report + use theme
**React**: `class MyComponent extends...` ā Rule: Use functions ā Report + convert
**SKILL.md**: 85 lines ā Rule: ā¤70 max ā Report + extract to references/
[More examples ā](references/violation-examples.md)
## Command (Copy-Paste)
```bash
npx agent-skills-standard feedback \
--skill="[skill-id]" \
--issue="[violation]" \
--skill-instruction="[exact rule]" \
--actual-action="[what I did]"
```
## Pre-Completion Check
Before `notify_user` or task completion:
**Did I write code?** YES ā **Did I audit skills?** NO ā Audit now
## Anti-Patterns
- **No "I'll check later"**: Check before writing, not after
- **No "minor change skip"**: Every write needs check
- **No "user waiting skip"**: 10-second check > pattern violation
This skill audits loaded coding-standard skills before any file write and automatically reports detected rule violations via a feedback command. It prevents unsafe or noncompliant changes by enforcing anti-pattern checks across languages and frameworks. The goal is to catch and report violations, then require fixes before proceeding with file modifications.
Before any write operation (single or multi-file replace), the skill checks whether there are loaded skills relevant to the file extension. If skills exist, it scans the planned changes against anti-patterns and rules; a match triggers an automated feedback report and halts the write until remediation. If no skills are loaded or no violations are found, the write proceeds normally.
What happens if no skills are loaded for a file extension?
The audit is skipped for that file and the write proceeds normally.
How do I report a detected violation automatically?
Use the feedback command with the skill id, issue description, exact rule, and the actual action performed to auto-report.