Fastcrud
benavlabs/fastcrud
A skill your agent uses when building or modifying CRUD endpoints with FastCRUD (the fastcrud PyPI package) in a FastAPI project — covers FastCRUD, crudrouter, EndpointCreator, FilterConfig…
Add a new FastAPI endpoint to APIView Copilot. An agent skill from Azure/azure-sdk-tools.
$ npx skills add Azure/azure-sdk-tools --skill add-endpoint -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Azure/azure-sdk-tools add-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/Azure/azure-sdk-tools.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/python-packages/apiview-copilot/.github/skills/add-endpoint .claude/skills/add-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 "add-endpoint" agent skill from https://github.com/Azure/azure-sdk-tools/tree/main/packages/python-packages/apiview-copilot/.github/skills/add-endpoint into .claude/skills/add-endpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-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/Azure/azure-sdk-tools/tree/main/packages/python-packages/apiview-copilot/.github/skills/add-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 Azure/azure-sdk-tools --skill add-endpoint -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Azure/azure-sdk-tools add-endpoint --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Azure/azure-sdk-tools.git skills-src && mkdir -p .agents/skills && cp -r skills-src/packages/python-packages/apiview-copilot/.github/skills/add-endpoint .agents/skills/add-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 "add-endpoint" agent skill from https://github.com/Azure/azure-sdk-tools/tree/main/packages/python-packages/apiview-copilot/.github/skills/add-endpoint into .agents/skills/add-endpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-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 Azure/azure-sdk-tools --skill add-endpoint -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Azure/azure-sdk-tools add-endpoint --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Azure/azure-sdk-tools.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/packages/python-packages/apiview-copilot/.github/skills/add-endpoint .cursor/skills/add-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 "add-endpoint" agent skill from https://github.com/Azure/azure-sdk-tools/tree/main/packages/python-packages/apiview-copilot/.github/skills/add-endpoint into .cursor/skills/add-endpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-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/Azure/azure-sdk-tools.git --path packages/python-packages/apiview-copilot/.github/skills/add-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 Azure/azure-sdk-tools --skill add-endpoint -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Azure/azure-sdk-tools add-endpoint --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Azure/azure-sdk-tools.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/packages/python-packages/apiview-copilot/.github/skills/add-endpoint .gemini/skills/add-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 "add-endpoint" agent skill from https://github.com/Azure/azure-sdk-tools/tree/main/packages/python-packages/apiview-copilot/.github/skills/add-endpoint into .gemini/skills/add-endpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-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 Azure/azure-sdk-tools add-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 Azure/azure-sdk-tools --skill add-endpoint -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Azure/azure-sdk-tools.git skills-src && mkdir -p .github/skills && cp -r skills-src/packages/python-packages/apiview-copilot/.github/skills/add-endpoint .github/skills/add-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 "add-endpoint" agent skill from https://github.com/Azure/azure-sdk-tools/tree/main/packages/python-packages/apiview-copilot/.github/skills/add-endpoint into .github/skills/add-endpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-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 Azure/azure-sdk-tools --skill add-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 Azure/azure-sdk-tools add-endpoint --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Azure/azure-sdk-tools.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/packages/python-packages/apiview-copilot/.github/skills/add-endpoint .opencode/skills/add-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 "add-endpoint" agent skill from https://github.com/Azure/azure-sdk-tools/tree/main/packages/python-packages/apiview-copilot/.github/skills/add-endpoint into .opencode/skills/add-endpoint/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-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.
add-endpointAdd a new FastAPI endpoint to APIView Copilot. An agent skill from Azure/azure-sdk-tools.
Add Endpoint is an agent skill from Azure/azure-sdk-tools, published by the product's own GitHub organization. Add a new FastAPI endpoint to APIView Copilot. Use for: add endpoint, new endpoint, new API route, add route, create endpoint, add API, new POST endpoint, new GET endpoint.
Its SKILL.md is about 1.9k 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 Backend development. It works with FastAPI and Python. The repository describes itself as: Tools repository leveraged by the Azure SDK team. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6e4fb2b. 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 python).
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 Endpoint loads about 1.9k tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 542 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 Azure/azure-sdk-tools at commit 6e4fb2b, republished under its MIT licence (© Azure). 542 words, ~1,911 tokens.
.claude/skills/add-endpoint/SKILL.md (or your agent's skills folder).When adding a new endpoint, follow every step below.
app.py for endpoint-specific models, or in src/_models.py for shared/reusable models.class Config with populate_by_name = True on any model that has aliases so it can be constructed with either the Python name or the alias.Field(...) for required fields, Field(None, ...) or Field(default=..., ...) for optional ones.class MyFeatureRequest(BaseModel):
"""Request model for my feature."""
review_id: str = Field(..., alias="reviewId")
language: str
include_deleted: bool = Field(False, alias="includeDeleted")
max_results: Optional[int] = Field(None, alias="maxResults")
class Config:
"""Configuration for Pydantic model."""
populate_by_name = True
class MyFeatureResponse(BaseModel):
"""Response model for my feature."""
job_id: str = Field(..., alias="jobId")
result_count: int = Field(..., alias="resultCount")
class Config:
"""Configuration for Pydantic model."""
populate_by_name = True| Rule | Correct | Wrong |
|---|---|---|
| JSON field casing | "reviewId" | "review_id" |
| Alias declaration | Field(..., alias="reviewId") | bare review_id: str for multi-word names |
| Config on aliased models | class Config: populate_by_name = True | missing Config |
| Single-word fields | language: str (no alias needed) | language: str = Field(..., alias="language") |
@app.post(...) or @app.get(...) etc. with response_model= pointing to the response model.status_code= when it's not the default 200 (e.g., 202 for async jobs).Depends(require_roles(...)) for authentication. Use AppRole.READER / AppRole.APP_READER for read-only, AppRole.WRITER / AppRole.APP_WRITER for mutations.HTTPException with appropriate status codes.asyncio.to_thread(...) or background tasks.@app.post("/my-feature", response_model=MyFeatureResponse)
async def my_feature(
request: MyFeatureRequest,
_claims=Depends(require_roles(AppRole.READER, AppRole.APP_READER)),
):
"""Handle my feature requests."""
try:
result = await asyncio.to_thread(do_work, review_id=request.review_id)
return MyFeatureResponse(job_id=result.id, result_count=result.count)
except Exception as e:
logger.error("Error in /my-feature: %s", e, exc_info=True)
raise HTTPException(status_code=500, detail="Internal server error") from eFastAPI automatically serializes response models by alias when response_model is set. This means:
jobId, resultCount), not the Python names.by_alias=True call is needed — FastAPI handles this via the response_model.MyFeatureResponse(job_id=..., result_count=...).Every endpoint must have a CLI command in cli.py with a --remote flag. The core logic must be shared between remote and local paths to the maximum extent practical.
Extract the business logic into a standalone function (in src/ or at module level in cli.py) that both the endpoint and the CLI's local path call. The CLI's --remote path sends an HTTP request to the endpoint instead.
┌─────────────┐
│ core logic │ ← shared function in src/
│ (do_work) │
└──────┬──────┘
│
┌────────────┴────────────┐
│ │
┌──────┴──────┐ ┌──────┴──────┐
│ app.py │ │ cli.py │
│ endpoint │ │ (local) │
└─────────────┘ └─────────────┘
│
if --remote:
HTTP POST → endpointdef my_feature(language: str, review_id: str, include_deleted: bool = False, remote: bool = False):
"""Describe the command."""
if remote:
# Remote: HTTP call to the deployed endpoint
settings = SettingsManager()
base_url = settings.get("WEBAPP_ENDPOINT")
payload = {"language": language, "reviewId": review_id, "includeDeleted": include_deleted}
resp = requests.post(
f"{base_url}/my-feature", json=payload, headers=_build_auth_header(), timeout=60
)
if resp.status_code == 200:
print(json.dumps(resp.json(), indent=2))
else:
print(f"Error: {resp.status_code} - {resp.text}")
else:
# Local: call shared core logic directly
result = do_work(language=language, review_id=review_id, include_deleted=include_deleted)
print(json.dumps(result, indent=2))Key rules:
--remote payload must use camelCase keys matching the endpoint's request model aliases._build_auth_header() for remote authentication.SettingsManager().get("WEBAPP_ENDPOINT") for the base URL.In CliCommandsLoader.load_command_table, add the command to the appropriate CommandGroup:
with CommandGroup(self, "review", "__main__#{}") as g:
# ... existing commands ...
g.command("my-feature", "my_feature")Register any command-specific arguments in load_arguments:
with ArgumentsContext(self, "review my-feature") as ac:
ac.argument("review_id", options_list=["--review-id", "-r"], help="The review ID.")
ac.argument("include_deleted", action="store_true", help="Include deleted items.")Notes:
--remote and --language are already registered globally — don't re-register them.review_id → --review-id).type=resolve_language_to_canonical for language params (already global).alias= on multi-word field names. The API contract is camelCase.model_config = ConfigDict(alias_generator=to_camel) — this project uses explicit alias= per field, not automatic generators.populate_by_name = True on models with aliases — without it, the model can't be constructed using Python field names.src/.--remote path must send camelCase keys matching the request model aliases.--remote or --language in command-specific ArgumentsContext — they are global.© Azure, 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 packages/python-packages/apiview-copilot/.github/skills/add-endpoint of Azure/azure-sdk-tools.
Open the folder on GitHubat commit 6e4fb2b
Add 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 |
|---|---|---|---|---|---|---|
| Add Endpoint this skillAzure/azure-sdk-tools | 134 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Fastcrudbenavlabs/fastcrud | 1.6k | — | ~5k | Automated safety check: Pass | MIT | |
| Phoenix ServerArize-ai/phoenix | 12k | — | ~1.6k | Automated safety check: Pass | Custom licence | |
| FastAPI Project Templateswshobson/agents | 40k | 12 repos | ~901 | Automated safety check: Pass | MIT | |
| Holm Webvolfpeter/holm | 132 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Starlettesimonw/research | 783 | — | ~8.6k | Automated safety check: Notes | None |
benavlabs/fastcrud
A skill your agent uses when building or modifying CRUD endpoints with FastCRUD (the fastcrud PyPI package) in a FastAPI project — covers FastCRUD, crudrouter, EndpointCreator, FilterConfig…
Arize-ai/phoenix
Backend development guide for the Phoenix AI observability platform (Strawberry GraphQL, SQLAlchemy async, FastAPI).
wshobson/agents
Scaffolds FastAPI projects with a layered app layout, dependency injection through Depends, async handlers and database access, middleware and pytest setup.
volfpeter/holm
A skill your agent uses when working on web apps built with holm, or to answer questions about holm.
simonw/research
Build async web applications and APIs with Starlette 1.0, the lightweight ASGI framework for Python.
Zhongye1/KnowAgenticRAG
FastAPI Best Architecture (fba) project development guide. An agent skill from Zhongye1/KnowAgenticRAG.
Azure/azure-sdk-tools
Analyze and resolve APIView review feedback on Azure SDK PRs.
Azure/azure-sdk-tools
Analyze and resolve APIView review feedback on Azure SDK PRs.
Azure/azure-sdk-tools
Deploy test resources and run Azure SDK tests in live, record, or playback mode.
Azure/azure-sdk-tools
Analyze Azure SDK CI/CD pipeline failures into a structured diagnosis, and define the required output format.
Azure/azure-sdk-tools
Create, get, update, abandon, and link SDK PRs to release plan work items for Azure SDK releases.
Azure/azure-sdk-tools
Assess Azure TypeSpec Git diffs for semantic intent, REST and downstream SDK breaking changes, Azure Guidelines compliance, and documentation completeness.
Categories
Add a new FastAPI endpoint to APIView Copilot. An agent skill from Azure/azure-sdk-tools. Add Endpoint is an agent skill from Azure/azure-sdk-tools, published by the product's own GitHub organization. Add a new FastAPI endpoint to APIView Copilot.
Add Endpoint fits situations like: create endpoint; new POST endpoint; new GET endpoint.
Run `npx skills add Azure/azure-sdk-tools --skill add-endpoint -a claude-code`. Or copy the skill folder (packages/python-packages/apiview-copilot/.github/skills/add-endpoint in Azure/azure-sdk-tools) into .claude/skills/add-endpoint in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Azure/azure-sdk-tools --skill add-endpoint -a codex`. Or copy the skill folder (packages/python-packages/apiview-copilot/.github/skills/add-endpoint in Azure/azure-sdk-tools) into .agents/skills/add-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 Azure/azure-sdk-tools --skill add-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/add-endpoint, .gemini/skills/add-endpoint, .github/skills/add-endpoint and .opencode/skills/add-endpoint in your project.
SKILL.md names no scripts, command-line tools or credentials: Add Endpoint is instructions for the agent only. Our summary lists: Python 3.
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 Endpoint is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k 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 Endpoint: Fastcrud (benavlabs/fastcrud, 1.6k stars), Phoenix Server (Arize-ai/phoenix, 12k stars), FastAPI Project Templates (wshobson/agents, 40k stars) and Holm Web (volfpeter/holm, 132 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Azure (a GitHub organization, an official publisher) maintains it in Azure/azure-sdk-tools, which has 134 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 8, 2026.
Source: Azure/azure-sdk-tools on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.