What problem does it solve?
When working on a focused task in an Elixir/Phoenix codebase, you may want the AI agent to avoid touching files outside a specific area. This Skill establishes a session-level instruction that restricts edits to read-only mode or to specific directory prefixes, reducing the risk of unintended changes.
Core Features & Use Cases
- Read-Only Mode: Invoke with no arguments to prevent any file edits while keeping investigation and reporting available.
- Directory-Scoped Editing: Pass project-relative path prefixes (e.g.,
lib/app_web priv/repo) to allow edits only under those directories.
- Scope Management: Use
status to report the current advisory scope and off to clear it.
- Use Case: While investigating a bug in the web layer, freeze edits to
lib/app_web so the agent can fix the controller without accidentally modifying contexts, schemas, or migrations.
Quick Start
Ask the agent to freeze edits to the lib/app_web directory using the phx-freeze skill before starting the investigation.