SkillsReviewed · oborchers

Routes and Naming

Routes and Naming is an API design skill for developers and coding assistants, but its strict conventions and incomplete code examples need project-specific review. It covers resource URLs, query parameters and JSON field names, with examples in Express and FastAPI.

Researched 16 Nov 2026

In short.

Routes and Naming is a written API design skill for developers and coding assistants, but its implementation examples require completion and review before use. It combines naming rules, good and bad examples, and a checklist covering URLs and JSON fields. The snippets illustrate the conventions without consistently enforcing them, and some pagination logic can give misleading results. Runtime correctness and assistant compatibility are untested.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete supplied selected folder: api-design-principles/skills/routes-and-naming/SKILL.md, examples/field-naming-conventions.md and examples/url-structure-patterns.md, plus the repository-root LICENSE notice, all at revision 182a2e1e6033cbcd2dd086a1d6bcee956dc901f6. Other repository resources, external provider documentation and dependency implementations are outside scope. No code was executed. Installation, assistant activation, deployed API behavior, security, compatibility and performance remain untested.

The overview

identity

Routes and Naming is the skill in api-design-principles/skills/routes-and-naming within oborchers/fractional-cto. Its SKILL.md declares the name routes-and-naming and version 1.0.0. The folder contains that instruction file and two supporting example documents; this report concerns that folder.

The original resource location is [https://github.com/oborchers/fractional-cto/tree/main/api-design-principles/skills/routes-and-naming].

assessment

The resource offers a concrete starting point for making API names consistent. Its strength is specificity: it gives explicit conventions, explains their intended benefits and shows corresponding routes and response fields in two programming languages.

Treat its strongest wording as design guidance. The captured files do not establish that every rule is universally appropriate or that following the skill improves an assistant's output. Its own exceptions for singletons, scoped identifiers and action endpoints require judgment.

users

Beginners can use the paired good and bad examples to understand collections, individual resources, filters and response naming. Backend developers and API reviewers can use the checklist when agreeing on conventions or reviewing proposed endpoints. Coding assistants are an intended audience of the skill's task description.

It fits teams choosing conventions for a new API especially well. Teams maintaining an established API should assess compatibility before applying its required snake_case fields or changing existing URLs.

capabilities

The skill covers plural collection names, singular singleton resources, shallow nesting, direct access through globally unique IDs, and the distinction between resource-identifying path parameters and filtering query parameters. It also describes action endpoints for operations such as cancellation.

For fields, it recommends snake_case, explicit boolean prefixes, consistent timestamp suffixes, readable string enums and consistent domain terminology. The supporting documents add prefixed identifier generators, nullable timestamp examples and integer monetary amounts, alongside Express and FastAPI snippets.

Using it

requirements

The guidance is Markdown that can be read directly. No particular assistant, model, subscription or API key is specified. Supported assistant hosts and their loading requirements are unknown.

Adapting the code requires an appropriate JavaScript or Python application. The examples reference Express, FastAPI and Pydantic, with illustrative Prisma-style and SQLAlchemy-style schemas. Database clients and some helpers are undefined, and dependency versions are not supplied.

mechanism

The skill works through written instructions. Its front matter describes relevant tasks, while the body supplies rules, explanations, contrasting examples and a review checklist. Relative references point readers or assistants to the two example documents.

No executable lint rule, automatic naming checker or integration code is included in the selected folder. Applying the conventions depends on a reader or assistant interpreting them; actual assistant activation and adherence are untested.

setup

For manual use, start with SKILL.md and consult examples/url-structure-patterns.md and examples/field-naming-conventions.md as needed. Keep that directory structure when copying the skill so its example references remain useful, and retain the accompanying license notice.

The supplied files contain no assistant installation command or host-specific configuration. To adapt a snippet into an application, provide its database layer and missing helpers, establish dependencies, and review validation and access controls.

example

For a user's orders, the guide shows GET /users/42/orders?status=pending: the path identifies the user and collection, while the query filters the result. A globally unique order can also have direct access through GET /orders/{id}. Cancellation uses POST /orders/{id}/cancel.

The field-naming example represents an order with names such as user_id, is_gift, created_at and shipped_at. Its total_amount value of 4999 represents an integer amount in the smallest currency unit. These are supplied illustrations; no execution results are available.

Assessment & evidence

limitations

The snippets are incomplete application examples. Database objects are undefined, and the field-naming document calls sorting helpers that it does not define. Authentication and resource-ownership checks are not shown. Express creation and update handlers pass request bodies directly to database operations without showing input schemas or writable-field restrictions.

Some stated conventions are not enforced in the code. The FastAPI response models describe enums but declare role and status as strings, and no UTC validation is defined for their datetime fields. The illustrative SQLAlchemy defaults use datetime.utcnow. The Prisma-style schema uses cuid defaults without connecting the separate prefixed-ID generator.

Both field-naming implementations set has_more by checking whether the returned page is full. A full final page would therefore indicate more results even when none remain. Runtime correctness, dependency compatibility, security and performance remain untested.

reasoning

The strongest reason to use this skill is its shared vocabulary and concrete review questions. Readers can connect a rule to a URL, serializer or response model, which makes design discussions more specific.

Its strict defaults still need to fit the API's contract. The guide itself explains that globally unique identifiers support flat routes while parent-scoped identifiers may require nesting. Claims about major providers, cache behavior and usability have no supporting measurements in the supplied files, so they should not be read as demonstrated outcomes.

alternatives

Developers needing reference examples can use the two accompanying documents directly. For an established API, its existing contract and team conventions may provide a more compatible starting point than adopting every rule here.

SKILL.md names Microsoft REST API Guidelines for parameter placement and JSON:API for descending sorting, and attributes patterns to providers including Stripe and GitHub. Those external documents are not supplied, so their current contents and comparative coverage are not assessed.

evidence

The instruction file supplies the declared version, task description, conventions and checklist: [https://raw.githubusercontent.com/oborchers/fractional-cto/182a2e1e6033cbcd2dd086a1d6bcee956dc901f6/api-design-principles/skills/routes-and-naming/SKILL.md].

The field-naming document supplies serializers, response models, identifier helpers and illustrative database schemas: [https://raw.githubusercontent.com/oborchers/fractional-cto/182a2e1e6033cbcd2dd086a1d6bcee956dc901f6/api-design-principles/skills/routes-and-naming/examples/field-naming-conventions.md].

The URL document supplies CRUD, nested-resource, filtering and action-route examples: [https://raw.githubusercontent.com/oborchers/fractional-cto/182a2e1e6033cbcd2dd086a1d6bcee956dc901f6/api-design-principles/skills/routes-and-naming/examples/url-structure-patterns.md]. These files support document and code observations; no execution receipts, benchmarks or assistant-output evaluations are supplied.

Access & freshness

costs

The MIT license grants use and redistribution without a license fee. The files specify no assistant subscription price, model usage charge or deployment budget. Those costs depend on the chosen environment and remain unknown; no token usage or operating cost measurements are supplied.

rights

The repository's captured MIT license names Copyright (c) 2026 Dr. Oliver Borchers. It permits use, copying, modification, publication, distribution, sublicensing and sale of the software and associated documentation. Copies or substantial portions must retain the copyright and permission notices.

The license provides the material without warranty and disclaims liability. The captured notice is available at [https://raw.githubusercontent.com/oborchers/fractional-cto/182a2e1e6033cbcd2dd086a1d6bcee956dc901f6/LICENSE].

freshness

The skill declares version 1.0.0. The supplied files were captured on 2026-11-16 at 06:57:29.519 UTC from repository revision 182a2e1e6033cbcd2dd086a1d6bcee956dc901f6. That revision identifies the content described here.

Changes after that snapshot, current assistant compatibility and current dependency compatibility are unknown. Examples mentioning provider APIs do not establish those providers' present behavior.

actions

Start by comparing the checklist with the API's intended public contract. Decide which naming conventions to adopt and document exceptions, particularly for existing field names, parent-scoped identifiers and action endpoints.

Before using the snippets in an application, supply the missing database and helper implementations, add authorization and input restrictions, constrain sorting and pagination, and enforce any required enum and UTC rules. Correct has_more using evidence of an additional result. Validate behavior in the target environment; the supplied examples have not been executed.

For assistant use, confirm the host's loading procedure and check that it can resolve the example files. Preserve the original files and license notice when sharing a copy.

Evidence for this report

LICENSEnotice · checked 2026-11-16