add-permission

Add permission constants to backend C# and frontend TypeScript code.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Emmanuelkwaa/NetRockTemplate --skill add-permission-emmanuelkwaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-permission
Source: https://github.com/Emmanuelkwaa/NetRockTemplate/tree/main/.claude/skills/add-permission
Command: npx skills add https://github.com/Emmanuelkwaa/NetRockTemplate --skill add-permission-emmanuelkwaa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of adding new permissions to both the backend and frontend of an application, ensuring consistency and reducing manual errors.

Core Features & Use Cases

  • Backend Integration: Adds constants to C# permission files and applies them to controller actions.
  • Frontend Integration: Creates corresponding constants in TypeScript and integrates them into UI components and route guards.
  • Use Case: When introducing a new feature like "User Management," this Skill helps define and implement the necessary ViewUsers and ManageUsers permissions across the entire application stack.

Quick Start

Add a new permission called 'users.view' to the application.

Frequently Asked Questions about add-permission

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

FAQPage Schema
How do I add permissions to both C# backend and TypeScript frontend?

To add permissions across your stack, this Skill generates new permission constants in C# and TypeScript, then integrates them into controller actions, UI components, and route guards. It ensures new access controls are consistently applied across the full application stack.

What's the best way to implement route guards and UI authorization for new features?

Implementing route guards and UI authorization requires matching frontend TypeScript constants with backend rules. This Skill automates that by applying new permissions directly into UI components and route guards, ensuring comprehensive frontend application security.

How do I secure controller actions with new authorization constants in C#?

Securing controller actions with new authorization constants in C# involves adding the constants to permission files and applying them to the controllers. This Skill automates that backend integration to enforce access controls consistently.

Can I define ViewUsers and ManageUsers permissions across my full stack automatically?

Yes, you can define permissions like ViewUsers and ManageUsers across your full stack automatically. This Skill adds the specified constants to both C# and TypeScript codebases and manages their integration into controllers and route guards.

Why do my frontend and backend access controls get out of sync when adding permissions?

Frontend and backend access controls get out of sync due to manual updates across separate codebases. This Skill prevents manual errors by streamlining the process and ensuring consistent permission integration across both C# and TypeScript.