Skills fastapi-router-py
๐Ÿ“ฆ

fastapi-router-py

Content revision r1 Safe โš™๏ธ External commands

Build Consistent FastAPI Routers

FastAPI endpoints become inconsistent when authentication, models, and status codes vary. This skill provides concise router patterns and integration steps for reliable API development.

Supports: Claude Codex Code(CC)
๐Ÿฅ‰ 78 Bronze

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "fastapi-router-py" from https://skillstore.io/skills/sickn33-fastapi-router-py.md and its manifest at https://skillstore.io/api/skills/sickn33-fastapi-router-py/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Agent-readable resources

Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.

Test it

Using "fastapi-router-py". Create a public projects router with list and detail operations.

Expected outcome:

  • A router plan with collection and item paths.
  • Typed response model guidance for both operations.
  • Registration steps for the main application.

Using "fastapi-router-py". Review authentication and status codes for a task router.

Expected outcome:

  • A route-by-route authentication assessment.
  • Recommended success status codes for create and delete operations.
  • A focused list of corrections and required tests.

Security Audit

Safe
v5 โ€ข 7/24/2026 Open versioned report

All ten static findings are false positives caused by Markdown inline-code delimiters and fenced Python examples in SKILL.md. The file contains no shell commands, execution instructions, network behavior, credential access, or prompt injection. Publication security risk is not supported by the reviewed content.

1
Files scanned
64
Lines analyzed
0
Review items
0
False positives ignored
No confirmed security findings were detected by the latest completed static and semantic audit. This does not prove the skill has no side effects.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/sickn33-fastapi-router-py/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/sickn33-fastapi-router-py/security.svg)](https://skillstore.io/skills/sickn33-fastapi-router-py?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/sickn33-fastapi-router-py?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-fastapi-router-py/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/sickn33-fastapi-router-py.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

sickn33. (2026). fastapi-router-py security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-fastapi-router-py/audits/5

BibTeX citation

@techreport{sickn33-sickn33-fastapi-router-py-2026, author = {sickn33}, title = {fastapi-router-py security audit report (audit version 5)}, institution = {Skillstore}, year = {2026}, number = {5}, url = {https://skillstore.io/skills/sickn33-fastapi-router-py/audits/5}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "fastapi-router-py security audit report (audit version 5)" version: "unspecified" type: report authors: - name: "sickn33" date-released: "2026-07-24" url: "https://skillstore.io/skills/sickn33-fastapi-router-py/audits/5" identifiers: - type: other value: "skillstore:sickn33-fastapi-router-py:audit:5" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: High
55
Architecture
85
Maintainability
87
Content
69
Community
83
Spec Compliance

What You Can Build

Create a First Resource Router

Build a clear FastAPI router with typed responses and suitable status codes.

Standardize Existing API Routes

Align authentication dependencies, response models, and status codes across related endpoints.

Define Team Router Conventions

Establish a repeatable structure for routers, models, services, and application registration.

Try These Prompts

Create a Basic Router
Create a FastAPI router for {{resource}} with list and detail endpoints. Use Pydantic response models and explain each status code.
Add Authentication
Add required authentication to write routes for {{resource}}. Keep read routes public and use the project authentication dependencies.
Integrate a Router
Integrate a {{resource}} router into {{project_path}}. Follow existing imports, service boundaries, response models, and router registration patterns.
Review Router Consistency
Review {{router_file}} for authentication gaps, incorrect response models, status code errors, and inconsistent project conventions. Propose focused corrections and tests.

Best Practices

  • Reuse the project's established authentication dependencies and import patterns.
  • Declare response models and status codes explicitly for every route.
  • Test authorization, validation, success responses, and error responses before integration.

Avoid

  • Do not create new authentication helpers when approved project dependencies already exist.
  • Do not return untyped data when a stable response model is available.
  • Do not register a router before reviewing paths, prefixes, tags, and dependency behavior.

Frequently Asked Questions

Does this skill include a complete router template?
No. SKILL.md references assets/template.py, but that file is not included in this package.
Can it add authentication to routes?
Yes. It describes optional and required dependency patterns that must be adapted to the target project.
Does it support response models?
Yes. It demonstrates typed response models for individual resources and resource collections.
Which HTTP status codes does it cover?
It shows 201 for creation and 204 for deletion.
Will it register the router automatically?
No. It provides integration steps, while the agent must modify and verify the target application.
Does it replace project testing?
No. Every generated or revised router requires environment-specific validation, authorization checks, and automated tests.

Developer Details

Author

sickn33

License

MIT

Skillstore revision

r1

Version notice

The author did not declare a version.

Ref

88a8e9a07f4c54ab105c1c41b6267c287146b07b

Maintenance freshness

7/26/2026

Usage

7 downloads ยท 152 views

File structure

๐Ÿ“„ SKILL.md

More from sickn33

View all
View all