scope-enforcement

Official

Enforce code boundaries for AI development.

AuthorNextSpark-js
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents AI agents from making unauthorized or unintended modifications to the codebase, ensuring architectural integrity and preventing accidental data corruption.

Core Features & Use Cases

  • Session Scope Validation: Ensures AI adheres to predefined file access rules (scope.json).
  • Violation Handling: Blocks out-of-scope changes and guides users on resolution.
  • Use Case: When an AI agent attempts to modify core framework files while only scoped for theme development, this Skill will block the change and prompt the user to either revert the modification or request an expanded scope.

Quick Start

Use the scope-enforcement skill to validate that the files modified in the current session are within the allowed scope defined in the session's scope.json file.

Dependency Matrix

Required Modules

fnmatchjsonsubprocesssyspathlib

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: scope-enforcement
Download link: https://github.com/NextSpark-js/nextspark/archive/main.zip#scope-enforcement

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.