Add API Resource
wso2/agent-manager
Add or change a REST API resource in agent-manager-service (the Go control plane).
Add a new permission end-to-end — server constant + endpoint gate, and (admin app) mirror it into the permissions catalog + route guard.
$ npx skills add fullstackhero/dotnet-starter-kit --skill add-permission -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install fullstackhero/dotnet-starter-kit add-permission --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/fullstackhero/dotnet-starter-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/add-permission .claude/skills/add-permission && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "add-permission" agent skill from https://github.com/fullstackhero/dotnet-starter-kit/tree/main/.agents/skills/add-permission into .claude/skills/add-permission/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-permission", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/fullstackhero/dotnet-starter-kit/tree/main/.agents/skills/add-permissionType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add fullstackhero/dotnet-starter-kit --skill add-permission -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install fullstackhero/dotnet-starter-kit add-permission --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fullstackhero/dotnet-starter-kit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/add-permission .agents/skills/add-permission && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-permission" agent skill from https://github.com/fullstackhero/dotnet-starter-kit/tree/main/.agents/skills/add-permission into .agents/skills/add-permission/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-permission", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add fullstackhero/dotnet-starter-kit --skill add-permission -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install fullstackhero/dotnet-starter-kit add-permission --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fullstackhero/dotnet-starter-kit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/add-permission .cursor/skills/add-permission && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-permission" agent skill from https://github.com/fullstackhero/dotnet-starter-kit/tree/main/.agents/skills/add-permission into .cursor/skills/add-permission/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-permission", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/fullstackhero/dotnet-starter-kit.git --path .agents/skills/add-permission--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add fullstackhero/dotnet-starter-kit --skill add-permission -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install fullstackhero/dotnet-starter-kit add-permission --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fullstackhero/dotnet-starter-kit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/add-permission .gemini/skills/add-permission && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-permission" agent skill from https://github.com/fullstackhero/dotnet-starter-kit/tree/main/.agents/skills/add-permission into .gemini/skills/add-permission/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-permission", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install fullstackhero/dotnet-starter-kit add-permissionInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add fullstackhero/dotnet-starter-kit --skill add-permission -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/fullstackhero/dotnet-starter-kit.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/add-permission .github/skills/add-permission && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-permission" agent skill from https://github.com/fullstackhero/dotnet-starter-kit/tree/main/.agents/skills/add-permission into .github/skills/add-permission/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-permission", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add fullstackhero/dotnet-starter-kit --skill add-permission -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install fullstackhero/dotnet-starter-kit add-permission --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fullstackhero/dotnet-starter-kit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/add-permission .opencode/skills/add-permission && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-permission" agent skill from https://github.com/fullstackhero/dotnet-starter-kit/tree/main/.agents/skills/add-permission into .opencode/skills/add-permission/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-permission", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-permissionAdd a new permission end-to-end — server constant + endpoint gate, and (admin app) mirror it into the permissions catalog + route guard.
Add Permission is an agent skill from fullstackhero/dotnet-starter-kit. Add a new permission end-to-end — server constant + endpoint gate, and (admin app) mirror it into the permissions catalog + route guard. Use when a new endpoint needs authorization. See modules/identity.md + frontend/admin.md.
Its SKILL.md is about 850 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering Project scaffolding and Authorization and RBAC. The repository describes itself as: Production Grade Cloud-Ready .NET 10 Starter Kit (Web API + React Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All… The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 0bd98e3. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are csharp and typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add Permission loads about 849 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 280 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from fullstackhero/dotnet-starter-kit at commit 0bd98e3, republished under its MIT licence (© fullstackhero). 280 words, ~849 tokens.
.claude/skills/add-permission/SKILL.md (or your agent's skills folder).A permission spans server + the admin app. The dashboard app does not mirror permissions — it reads them from the JWT and relies on the server's 403.
Modules.{X}.Contracts/Authorization/{X}Permissions.cs)Add the constant to the resource group and ensure it's in the module's All collection. Convention:
Permissions.{Resource}.{Action}.
public static class {X}Permissions
{
public static class {Resources}
{
public const string View = "Permissions.{Resources}.View";
public const string Create = "Permissions.{Resources}.Create"; // ← new
}
public static IReadOnlyList<FshPermission> All { get; } = [ /* … include the new one … */ ];
}The module already calls PermissionConstants.Register({X}Permissions.All) in ConfigureServices, so a new entry in All is picked up automatically.
.RequirePermission({X}Permissions.{Resources}.Create);⚠️ RequiredPermissionAttribute implements IRequiredPermissionMetadata. Never let a second/duplicate of that interface exist — it silently disables all .RequirePermission() gates app-wide. (See .agents/rules/modules/identity.md.)
clients/admin/src/lib/permissions.ts — add the matching string to the frozen tree (no runtime catalog endpoint exists; mirror by hand):
export const {Module}Permissions = Object.freeze({
{Resources}: { View: "Permissions.{Resources}.View", Create: "Permissions.{Resources}.Create" },
} as const);If it should appear in the Role editor UI, add a PERMISSION_CATALOG entry ({ name, description, root?, basic? } under the right category group).
{ path: "{resources}/new",
element: <RouteGuard perms={[{Module}Permissions.{Resources}.Create]}><Create{Resource}Page /></RouteGuard> },So RouteGuard passes on first paint, add the new permission to the test seed set (ADMIN_PERMS in clients/admin/tests/helpers/shell-mocks.ts, used by seedAuthedSession).
No mirror, no RouteGuard. The JWT carries only role names — the app fetches the permission list from GET /api/v1/identity/permissions at hydration and the server enforces access; a missing permission yields a 403 the UI surfaces. Routes aren't permission-gated; to hide a nav entry, set perm/anyPerm on the item in src/components/layout/nav-data.ts. Permission-gated specs mock GET /identity/permissions with the grants they need (shell mocks stub it to []).
{X}Permissions and its All collection.RequirePermission(...); no duplicate IRequiredPermissionMetadatalib/permissions.ts (+ PERMISSION_CATALOG if role-editor-visible)<RouteGuard perms={[…]}>; permission added to ADMIN_PERMS test seedtest:e2e green© fullstackhero, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/add-permission of fullstackhero/dotnet-starter-kit.
Open the folder on GitHubat commit 0bd98e3
Add Permission next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add Permission this skillfullstackhero/dotnet-starter-kit | 6.8k | — | ~849 | Automated safety check: Pass | MIT | |
| Add API Resourcewso2/agent-manager | 105 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Plugin BuilderAIDotNet/NextCoWork | 638 | — | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| ToolJet Marketplace Plugin BuilderToolJet/ToolJet | 41k | — | ~2.1k | Automated safety check: Pass | AGPL-3.0 | |
| K8s Security PoliciesCybereason-Public/owLSM | 280 | 11 repos | ~2k | Automated safety check: Pass | GPL-2.0 | |
| Payloadpayloadcms/payload | 45k | 5 repos | ~6.2k | Automated safety check: Pass | MIT |
wso2/agent-manager
Add or change a REST API resource in agent-manager-service (the Go control plane).
AIDotNet/NextCoWork
Author, package, and debug NextCoWork plugins — the single entry point.
ToolJet/ToolJet
Turns an API description, such as an OpenAPI file or a Postman collection, into a connector plugin for ToolJet's marketplace and checks it with the repo's validator.
Cybereason-Public/owLSM
Comprehensive guide for implementing NetworkPolicy, PodSecurityPolicy, RBAC, and Pod Security Standards in Kubernetes.
payloadcms/payload
A skill your agent uses when working with Payload projects (payload.config.ts, collections, fields, hooks, access control, Payload API).
mastra-ai/mastra
Smoke test the Agent Builder feature branch end-to-end against a hermetic project scaffolded by the skill (linked to the current worktree).
fullstackhero/dotnet-starter-kit
Add a domain entity/aggregate with EF configuration and a migration to an existing FSH module.
fullstackhero/dotnet-starter-kit
Add a vertical-slice feature (command/query + handler + validator + endpoint) to an existing FSH module.
fullstackhero/dotnet-starter-kit
Build a capability end-to-end — backend vertical slice (Contracts→handler→validator→endpoint) AND the React page wired to it.
fullstackhero/dotnet-starter-kit
Publish a cross-module integration event via the Outbox and handle it idempotently in another module.
fullstackhero/dotnet-starter-kit
Create a new module (bounded context) — runtime + Contracts projects, IModule, DbContext, permissions, migrations, and the four registration sites.
fullstackhero/dotnet-starter-kit
Add a list+create page to a React app (clients/admin or clients/dashboard) — API module, page, lazy route, (admin) permission gate, Playwright test.
Categories
Add a new permission end-to-end — server constant + endpoint gate, and (admin app) mirror it into the permissions catalog + route guard. Add Permission is an agent skill from fullstackhero/dotnet-starter-kit. Add a new permission end-to-end — server constant + endpoint gate, and (admin app) mirror it into the permissions catalog + route guard.
Add Permission fits situations like: A new endpoint needs authorization; tasks that involve Project scaffolding; tasks that involve Authorization and RBAC.
Run `npx skills add fullstackhero/dotnet-starter-kit --skill add-permission -a claude-code`. Or copy the skill folder (.agents/skills/add-permission in fullstackhero/dotnet-starter-kit) into .claude/skills/add-permission in your project. Claude Code loads it when a task matches its description.
Run `npx skills add fullstackhero/dotnet-starter-kit --skill add-permission -a codex`. Or copy the skill folder (.agents/skills/add-permission in fullstackhero/dotnet-starter-kit) into .agents/skills/add-permission in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fullstackhero/dotnet-starter-kit --skill add-permission -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-permission, .gemini/skills/add-permission, .github/skills/add-permission and .opencode/skills/add-permission in your project.
SKILL.md names no scripts, command-line tools or credentials: Add Permission is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Add Permission is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 849 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add Permission: Add API Resource (wso2/agent-manager, 105 stars), Plugin Builder (AIDotNet/NextCoWork, 638 stars), ToolJet Marketplace Plugin Builder (ToolJet/ToolJet, 41k stars) and K8s Security Policies (Cybereason-Public/owLSM, 280 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
fullstackhero (a GitHub organization) maintains it in fullstackhero/dotnet-starter-kit, which has 6,813 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on September 30, 2026.
Source: fullstackhero/dotnet-starter-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.