dotnet:permissions

Configure allow and deny lists for .NET commands and file writes.

2|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/dimsour/dotnet-ai-toolkit --skill dotnet-permissions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet:permissions
Source: https://github.com/dimsour/dotnet-ai-toolkit/tree/main/plugins/dotnet/skills/permissions
Command: npx skills add https://github.com/dimsour/dotnet-ai-toolkit --skill dotnet-permissions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps manage Claude Code permissions to reduce prompts and secure .NET project workflows by allowing and denying specific commands and file writes.

Core Features & Use Cases

  • Permission Management: Configure permissions for common .NET commands like dotnet build, dotnet test, and dotnet ef.
  • File Write Allowlist: Specify which writes are allowed, such as src/** and tests/** files.
  • User-Level Settings: Apply settings at the user or project level for flexibility.
  • Risk Mitigation: Provides a deny list for risky commands to prevent destructive actions.

Quick Start

Run the command /dotnet:permissions to configure permissions for your .NET project.

Frequently Asked Questions about dotnet:permissions

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

FAQPage Schema
How do I configure Claude Code permissions for .NET project workflows?

To configure Claude Code permissions for .NET projects, you define allow and deny lists for specific commands and file writes. This secures workflows by permitting actions like `dotnet build` while blocking risky operations.

Can I restrict file write access to specific directories like src and tests in Claude Code?

Yes, you can restrict file write access by configuring a file write allowlist. This limits Claude Code to modifying only specified paths, such as `src/**` and `tests/**` files, ensuring secure file system access control.

What is the best way to prevent destructive dotnet commands from executing in Claude Code?

The best way to prevent destructive dotnet commands is by setting up a deny list. This risk mitigation feature explicitly blocks risky commands, securing your .NET project workflows from unintended destructive actions.

Does this permissions management approach apply to both user-level and project-level settings?

Yes, this permissions management approach supports both user-level and project-level settings. This flexibility allows you to apply .NET command execution and file system access controls globally or scoped to a specific project.

Which common dotnet commands can I explicitly allow for automated project management?

You can explicitly allow common .NET commands such as `dotnet build`, `dotnet test`, and `dotnet ef`. Adding these to your allow list streamlines project management by reducing unnecessary permission prompts.

Why do I need to set up allow and deny lists for .NET command execution?

You need allow and deny lists for .NET command execution to reduce prompts and secure project workflows. This configuration ensures only authorized commands and file writes occur, mitigating risks of destructive actions.