بنقرة واحدة
agent-scope-lock
Create, read, validate, and clear edit-scope locks through the nils-cli agent-scope-lock command.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create, read, validate, and clear edit-scope locks through the nils-cli agent-scope-lock command.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Resume and execute implementation work from a plan-tracking GitHub issue that carries issue-hosted source, plan, and execution-state snapshots, preserving progress on the issue when local docs/plans files may be cleaned up.
Use when the user wants to open or continue a GitHub issue as the durable timeline for a discovered problem, investigation, blocker, implementation handoff, or unresolved follow-up loop.
Finalize and close plan-tracking GitHub issues after issue-backed execution is complete and the user or project policy has approved closure.
Open or preview a provider-aware GitHub or GitLab tracking issue for a docs/plans plan bundle, bootstrapping the source doc and plan first when the user has a converged feature discussion but no plan file yet.
Deliver a dispatch-ready plan by sprint: split plan tasks into PR lanes, dispatch subagent work, enforce acceptance gates, and advance through final integration without main-agent implementation.
Close out an existing plan-issue runtime where main-agent owns orchestration and review only, subagents own implementation task lanes, and close gates require approval plus merged PRs.
| name | agent-scope-lock |
| description | Create, read, validate, and clear edit-scope locks through the nils-cli agent-scope-lock command. |
Use this skill when an agent workflow needs a mechanical edit boundary before changing files.
Prereqs:
git available on PATH.agent-scope-lock available on PATH from nils-cli 0.8.4 or newer.nils-cli checkout that builds the
nils-agent-scope-lock package when PATH is absent or too old.Inputs:
create: one or more --path <repo-relative-path> flags, optional --owner <owner>, optional --note <note>, and optional
--format json.read: optional --format json.validate: required --changes all|staged|unstaged, and optional --format json.clear: no required inputs.Outputs:
agent-scope-lock create: writes the git metadata lock file resolved by git rev-parse --git-path agent-scope-lock.json.agent-scope-lock read: prints the current lock state.agent-scope-lock validate: reports whether selected working-tree changes stay inside the lock scope.agent-scope-lock clear: removes the current lock file.Exit codes:
0: command succeeded.agent-scope-lock.Failure modes:
agent-scope-lock is unavailable on PATH and no validated local checkout invocation is being used.create paths are not repository-relative or do not match the intended edit boundary.validate finds changes outside the active lock scope.Released PATH boundary:
agent-scope-lock --help
Use the PATH command after installing nils-cli 0.8.4 or newer with nils-agent-scope-lock on PATH.
Local checkout fallback boundary:
cargo run --locked --manifest-path "$HOME/Project/sympoies/nils-cli/Cargo.toml" \
-p nils-agent-scope-lock --bin agent-scope-lock -- --help
Run the Cargo form from the target git work tree, not from the nils-cli checkout.
Use it only when PATH is absent or reports an older nils-cli. Keep the same
agent-scope-lock subcommands and flags in both modes.
Released PATH command:
agent-scope-lock create --path <repo-relative-path> [--path <path> ...] [--owner <owner>] [--note <note>] [--format json]
agent-scope-lock read [--format json]
agent-scope-lock validate --changes all|staged|unstaged [--format json]
agent-scope-lock clear
Local checkout fallback command:
cargo run --locked --manifest-path /path/to/nils-cli/Cargo.toml \
-p nils-agent-scope-lock --bin agent-scope-lock -- <subcommand> ...
Do not edit agent-scope-lock.json manually or duplicate scope validation logic in skill scripts.
agent-scope-lock create --path <path> [--path <path> ...] --owner <agent-or-workflow> --note <reason> --format jsonagent-scope-lock read --format jsonagent-scope-lock validate --changes all --format jsonagent-scope-lock cleardocs/runbooks/skills/TOOLING_INDEX_V2.md