Dotnet Webapi
dotnet/skills
Guides creation and modification of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata, and error handling.
Add or change an API call between the app and its backends — the Touch'N'Stars plugin server (C), the NINA Advanced API, or the PINS daemon.
$ npx skills add Touch-N-Stars/Touch-N-Stars --skill api-endpoint -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Touch-N-Stars/Touch-N-Stars api-endpoint --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/Touch-N-Stars/Touch-N-Stars.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/api-endpoint .claude/skills/api-endpoint && 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 "api-endpoint" agent skill from https://github.com/Touch-N-Stars/Touch-N-Stars/tree/master/.claude/skills/api-endpoint into .claude/skills/api-endpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-endpoint", 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/Touch-N-Stars/Touch-N-Stars/tree/master/.claude/skills/api-endpointType 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 Touch-N-Stars/Touch-N-Stars --skill api-endpoint -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Touch-N-Stars/Touch-N-Stars api-endpoint --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Touch-N-Stars/Touch-N-Stars.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/api-endpoint .agents/skills/api-endpoint && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "api-endpoint" agent skill from https://github.com/Touch-N-Stars/Touch-N-Stars/tree/master/.claude/skills/api-endpoint into .agents/skills/api-endpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-endpoint", 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 Touch-N-Stars/Touch-N-Stars --skill api-endpoint -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Touch-N-Stars/Touch-N-Stars api-endpoint --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Touch-N-Stars/Touch-N-Stars.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/api-endpoint .cursor/skills/api-endpoint && 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 "api-endpoint" agent skill from https://github.com/Touch-N-Stars/Touch-N-Stars/tree/master/.claude/skills/api-endpoint into .cursor/skills/api-endpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-endpoint", 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/Touch-N-Stars/Touch-N-Stars.git --path .claude/skills/api-endpoint--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 Touch-N-Stars/Touch-N-Stars --skill api-endpoint -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Touch-N-Stars/Touch-N-Stars api-endpoint --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Touch-N-Stars/Touch-N-Stars.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/api-endpoint .gemini/skills/api-endpoint && 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 "api-endpoint" agent skill from https://github.com/Touch-N-Stars/Touch-N-Stars/tree/master/.claude/skills/api-endpoint into .gemini/skills/api-endpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-endpoint", 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 Touch-N-Stars/Touch-N-Stars api-endpointInstalls 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 Touch-N-Stars/Touch-N-Stars --skill api-endpoint -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Touch-N-Stars/Touch-N-Stars.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/api-endpoint .github/skills/api-endpoint && 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 "api-endpoint" agent skill from https://github.com/Touch-N-Stars/Touch-N-Stars/tree/master/.claude/skills/api-endpoint into .github/skills/api-endpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-endpoint", 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 Touch-N-Stars/Touch-N-Stars --skill api-endpoint -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Touch-N-Stars/Touch-N-Stars api-endpoint --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Touch-N-Stars/Touch-N-Stars.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/api-endpoint .opencode/skills/api-endpoint && 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 "api-endpoint" agent skill from https://github.com/Touch-N-Stars/Touch-N-Stars/tree/master/.claude/skills/api-endpoint into .opencode/skills/api-endpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-endpoint", 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.
api-endpointAdd or change an API call between the app and its backends — the Touch'N'Stars plugin server (C), the NINA Advanced API, or the PINS daemon.
API Endpoint is an agent skill from Touch-N-Stars/Touch-N-Stars. Add or change an API call between the app and its backends — the Touch'N'Stars plugin server (C), the NINA Advanced API, or the PINS daemon. Use when wiring a new endpoint into src/services/api/, when a request hits the wrong port or host, or when the apiService surface snapshot test fails.
Its SKILL.md is about 1.3k 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 REST APIs. It works with C#. The repository describes itself as: a WebApp to controll NINA. The licence is GPL-3.0.
Read from SKILL.md and the folder at commit c7af082. 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.
Shell commands in SKILL.md call:
nodeFrom 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.
API Endpoint loads about 1.3k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 570 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 Touch-N-Stars/Touch-N-Stars at commit c7af082, republished under its GPL-3.0 licence (© Touch-N-Stars). 570 words, ~1,270 tokens.
.claude/skills/api-endpoint/SKILL.md (or your agent's skills folder).A new endpoint usually spans two repositories. Both are configured as working directories:
…/N.I.N.A-Plugin-for-Touch-N-Stars/Touch-N-Stars/Server/Controllers/*.cs
and Server/Services/*.cssrc/services/api/<domain>.js → src/services/apiService.js
→ a Pinia storeThe most common mistake is not the code, it is the host/port. getUrls() in
src/services/api/core.js:52 returns five, built in getBaseUrl() (line 30):
| Key | Points at | Use for |
|---|---|---|
BASE_URL | http://<host>:<store.apiPort>/v2/api | NINA Advanced API V2 |
API_URL | http://<host>:<connection.port>/api/ | Touch'N'Stars plugin server |
PLUGINSERVER_URL | plugin server root, no path | non-/api plugin routes |
TARGETPIC_URL | plugin server /api/targetpic | target thumbnails |
PINSDAEMON_URL | http://<host>:8000 | PINS system daemon |
The two ports differ on purpose: the plugin server sits on the instance port the
user configured, the Advanced API on the apiPort learned during the handshake.
src/services/__tests__/apiServiceEndpoints.test.js pins exactly this.
In dev, port 8080 is rewritten to 5000 (core.js:37-40). The same rewrite is
duplicated in apiPinsService.js:17-20.
Controllers are EmbedIO WebApiControllers with [Route(HttpVerbs.Get, "/…")]
(see MetricsController.cs for the minimal shape: a static service instance and
a Task<T>-returning method). A new controller must be registered in
Server/TouchNStarsServer.cs:45 with .WithController<…>() — the routes are not
discovered automatically. The whole API is mounted under /api, which is why the
frontend uses API_URL.
Keep logic in Server/Services/, not in the controller.
Add the method to the matching module in src/services/api/ — 17 domain
modules (camera, mount, phd2, sequence, profile, system, framing, image, flats,
filesystem, plugins, tppa, equipment, hocusfocus, pinsDevices, tenmicron, atlas) plus
core.js, which is infrastructure and not spread into the facade.
Use the helpers from core.js rather than raw axios where they fit:
simpleGetRequest(url) and getWithParams(url, params) both unwrap
response.data and rethrow.
async getFoo(id) {
const { BASE_URL } = getUrls();
return simpleGetRequest(`${BASE_URL}/equipment/foo/${id}`);
}Call getUrls() inside the method. Hoisting it to module scope freezes the
host/port from before the user connected.
src/services/apiService.js spreads all 17 domain modules into one object, so two
modules exporting the same method name silently overwrite each other. That is
what the snapshot test guards.
Adding or removing a method breaks
src/services/__tests__/apiServiceSurface.test.js until you regenerate:
node --import ./scripts/test-loader.mjs scripts/dump-api-surface.mjsThe failure message names this command itself. Regenerate deliberately — a surprise diff there usually means an accidental name collision, not a stale snapshot.
src/services/apiPinsService.js is a separate service for PINS-only endpoints
and carries its own copy of getBaseUrl — with a different key name
(pinsSystem alongside pinsDaemon). Changing host/port logic in one place and
not the other creates silent drift; check both.
PINS daemon calls need a bearer token: getPinsDaemonAuthHeaders() from
core.js:88, which resolves through instance settings, store settings, several
localStorage keys, and finally the default token.
Never branch UI behavior on store.isPINS when the field itself can simply be
probed. Feature-detect on the payload instead, as src/store/cameraStore.js:109
does for TempChangeRunning: use the real value when the backend reports it,
fall back to a heuristic when it does not. That keeps the app working against
official NINA/ninaAPI builds which lack the field.
New data is delivered by the 2 s poll (fetchAllInfos in src/store/store.js),
not by the WebSocket — /v2/socket does not deliver every state change. Add the
fetch there, and drop unchanged payloads before writing to the store rather than
polling faster.
Follow apiServiceEndpoints.test.js: installBrowserGlobals(), then
freshPinia(), then mock axios.get and assert on the URL that was built.
Gotcha: apiService caches its store references from the first active
Pinia. A test file must use one Pinia for all its tests and mutate store state
per test — a fresh Pinia per test silently keeps the old references.
© Touch-N-Stars, GPL-3.0. 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 .claude/skills/api-endpoint of Touch-N-Stars/Touch-N-Stars.
Open the folder on GitHubat commit c7af082
API Endpoint 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 |
|---|---|---|---|---|---|---|
| API Endpoint this skillTouch-N-Stars/Touch-N-Stars | 123 | — | ~1.3k | Automated safety check: Pass | GPL-3.0 | |
| Dotnet Webapidotnet/skills | 5.6k | 2 repos | ~5.5k | Automated safety check: Pass | MIT | |
| C# and .NET DeveloperJeffallan/claude-skills | 12k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Writing Csharp Codemicrosoft-foundry/foundry-agent-webapp | 127 | — | ~3.2k | Automated safety check: Notes | MIT | |
| NpgsqlrestNpgsqlRest/NpgsqlRest | 132 | — | ~7k | Automated safety check: Notes | MIT | |
| Maui Sqlite Databasedavidortinau/maui-skills | 174 | — | ~1.2k | Automated safety check: Pass | MIT |
dotnet/skills
Guides creation and modification of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata, and error handling.
Jeffallan/claude-skills
Guides C# work on .NET 8+: ASP.NET Core APIs, Entity Framework Core data access, Blazor apps and CQRS with MediatR, following a five-step build workflow.
microsoft-foundry/foundry-agent-webapp
Provides C and ASP.NET Core coding standards for this repository.
NpgsqlRest/NpgsqlRest
Build and modify REST APIs with NpgsqlRest — exposing PostgreSQL as HTTP endpoints from two sources (database functions/procedures/tables/views, and plain .sql files), driven by SQL comment…
davidortinau/maui-skills
Add SQLite local database storage to .NET MAUI apps using sqlite-net-pcl.
fmflurry/settings-opencode
Pre-merge code review for .NET 10 pull requests. An agent skill from fmflurry/settings-opencode.
Touch-N-Stars/Touch-N-Stars
Write or fix a CHANGELOG.md release entry. An agent skill from Touch-N-Stars/Touch-N-Stars.
Touch-N-Stars/Touch-N-Stars
Work on equipment devices — INDI driver selection, device lists, connect/disconnect, and the NINA profile values behind them (camera, mount, focuser, filter wheel, rotator, switch, weather, flat…
Touch-N-Stars/Touch-N-Stars
Turn a rough feature idea into a written goal and testable acceptance criteria before any code is written.
Touch-N-Stars/Touch-N-Stars
Add, rename, or remove user-facing strings in src/locales. An agent skill from Touch-N-Stars/Touch-N-Stars.
Touch-N-Stars/Touch-N-Stars
Work on the first-run / equipment setup wizard (src/components/setupWizard/) or on location and coordinate handling.
Touch-N-Stars/Touch-N-Stars
Review changed Touch'N'Stars code with three parallel agents, one each for functionality, UI and maintainability, against this project's own rules (NINA/PINS dual mode, polling contract…
Works with
Categories
Add or change an API call between the app and its backends — the Touch'N'Stars plugin server (C), the NINA Advanced API, or the PINS daemon. API Endpoint is an agent skill from Touch-N-Stars/Touch-N-Stars. Add or change an API call between the app and its backends — the Touch'N'Stars plugin server (C), the NINA Advanced API, or the PINS daemon.
API Endpoint fits situations like: wiring a new endpoint into src/services/api/; A request hits the wrong port; the apiService surface snapshot test fails.
Run `npx skills add Touch-N-Stars/Touch-N-Stars --skill api-endpoint -a claude-code`. Or copy the skill folder (.claude/skills/api-endpoint in Touch-N-Stars/Touch-N-Stars) into .claude/skills/api-endpoint in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Touch-N-Stars/Touch-N-Stars --skill api-endpoint -a codex`. Or copy the skill folder (.claude/skills/api-endpoint in Touch-N-Stars/Touch-N-Stars) into .agents/skills/api-endpoint 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 Touch-N-Stars/Touch-N-Stars --skill api-endpoint -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/api-endpoint, .gemini/skills/api-endpoint, .github/skills/api-endpoint and .opencode/skills/api-endpoint in your project.
Going by SKILL.md and its folder, API Endpoint needs the command-line tools its instructions call (node).
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.
API Endpoint is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.1k 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 API Endpoint: Dotnet Webapi (dotnet/skills, 5.6k stars), C# and .NET Developer (Jeffallan/claude-skills, 12k stars), Writing Csharp Code (microsoft-foundry/foundry-agent-webapp, 127 stars) and Npgsqlrest (NpgsqlRest/NpgsqlRest, 132 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Touch-N-Stars (a GitHub organization) maintains it in Touch-N-Stars/Touch-N-Stars, which has 123 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 6, 2026.
Source: Touch-N-Stars/Touch-N-Stars on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.