permissions

Configure Claude Code permissions for .NET projects with allow and deny rules.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps streamline the permission prompt flow for .NET projects, reducing prompts and allowing users to lock down which writes are allowed.

Core Features & Use Cases

  • Permission Configuration: Configure Claude Code permissions for common .NET commands and file-write allowlist.
  • Settings Template: Provide a settings template for .claude/settings.json with allow and deny rules.
  • Workflow Commands: Includes commands like dotnet build, dotnet test, dotnet format, etc.
  • Integration: Integrates with Claude Code and GitHub Copilot CLI for efficient permission management.

Quick Start

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

Frequently Asked Questions about permissions

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

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

Configure Claude Code permissions for .NET projects by applying a settings template to `.claude/settings.json` with predefined allow and deny rules for common commands and file writes. This reduces prompt interruptions and locks down allowed write operations.

What is the best way to stop repeated permission prompts for dotnet build and dotnet test?

To stop repeated permission prompts for dotnet build and dotnet test, use a settings template that adds these workflow commands to an allowlist, reducing manual approvals while executing .NET project tasks.

Can I lock down file-write permissions for GitHub Copilot CLI in a .NET repository?

Yes, you can lock down file-write permissions by applying an allowlist configuration to `.claude/settings.json`. This restricts which writes are allowed, securing your .NET repository when using GitHub Copilot CLI.

Does the permissions configuration support dotnet format and other common .NET workflow commands?

Yes, the permission configuration supports common .NET workflow commands including dotnet build, dotnet test, and dotnet format. These commands are integrated into the settings template to streamline execution.

When do I need to update my .NET Claude Code settings template?

You need to update your .NET Claude Code settings template when introducing new scripts or workflow commands that require write access. Adjusting the allow and deny rules ensures continued permission lockdown without unnecessary prompts.