_instruction-guard

Load project instruction files before every reply to enforce constraints.

2|Updated Nov 2, 2025
One-click install
npx skills add https://github.com/wxy/SilentFeed --skill instruction-guard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: _instruction-guard
Source: https://github.com/wxy/SilentFeed/tree/main/.copilot/skills/_instruction-guard
Command: npx skills add https://github.com/wxy/SilentFeed --skill instruction-guard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill forces explicit loading of project instruction files before every reply to prevent missing constraints and ensure consistent behavior.

Core Features & Use Cases

  • Explicit instruction loading before generating any output to guarantee alignment with project guidelines.
  • Cross-session consistency by validating the presence of instruction files (e.g., .github/copilot-instructions.md) and reflecting reads in the context acknowledgement.
  • Robust guardrails that apply to all conversations and responses, reducing risk of policy or formatting violations.

Quick Start

Before replying, explicitly read the project instruction files (e.g., .github/copilot-instructions.md) and then proceed with your answer.

Frequently Asked Questions about _instruction-guard

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

FAQPage Schema
How do I enforce instruction reading before Copilot generates a reply?

To enforce instruction reading before Copilot generates a reply, use a guardrail that requires explicit loading of project instruction files like .github/copilot-instructions.md. This mechanism validates file presence and records acknowledgment in the context before producing any output.

Why does my AI assistant miss constraints from my project instructions?

Your AI assistant misses constraints from project instructions because it lacks explicit loading across sessions. Forcing instruction reading and context acknowledgement before every reply ensures consistent adherence to guidelines and prevents missing constraints.

Can I use context acknowledgement to prevent prompt injection in AI workflows?

Yes, you can use context acknowledgement to prevent prompt injection in AI workflows by establishing robust guardrails. Requiring explicit reading of designated instruction files before answering reduces the risk of policy or formatting violations.

What is the best way to maintain cross-session consistency for AI coding guidelines?

The best way to maintain cross-session consistency for AI coding guidelines is to apply guardrails that force explicit instruction loading before every reply. Validating designated instruction files and reflecting reads in context acknowledgement ensures consistent behavior across all conversations.

Does enforcing instruction reading apply to all conversations or only specific tasks?

Enforcing instruction reading applies to all conversations and responses, not just specific tasks. This broad application guarantees alignment with project guidelines and ensures consistent adherence to constraints across any type of work.