Skip to content

Repository files navigation

HTTP API Style Guide Skill

This repository contains an opinionated HTTP/REST API style guide packaged as a skill for AI coding agents. It gives agents concrete defaults for designing, implementing, documenting, evolving, deprecating, and reviewing HTTP APIs.

The guide favors pragmatic, codegen-friendly REST with design-first OpenAPI, resource-oriented modeling, Stripe-like ergonomics, and standards-based HTTP behavior.

Start Here

Authoring Workflow

  1. Add or update a decision-register entry before changing the rule it owns.
  2. Draft or revise owner pages in the order defined by authoring/DRAFTING.md.
  3. Add workflow pages only where a repeated task needs a procedure, not just a rule.
  4. Keep each guideline routed exactly once from the policy index and each workflow routed exactly once from the skill entrypoint.
  5. Run bash checks/check.sh before committing skill changes.

mdBook

The packaged guide can be browsed as an mdBook:

mdbook build
mdbook serve --open

Book source lives under src/. Symlinks expose the canonical packaged files without duplication, and a preprocessor removes SKILL.md frontmatter from the rendered book.

The Pages workflow in .github/workflows/deploy.yml builds and deploys pushes to main. Configure the repository's Pages source as "GitHub Actions" before the first deployment.

Packaging Model

  • SKILL.md stays small and routes tasks through progressive disclosure.
  • guidelines.md indexes focused policy pages.
  • guidelines/ owns policy; workflows/ owns multi-step procedures.
  • agents/openai.yaml provides UI metadata for the skill.
  • authoring/, .ai/research/, and .ai/reviews/ remain repository-only maintenance material.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages