Prose

From static-web-server/static-web-server · View interactive version

Prose is an AI agent skill from the GitHub repository static-web-server/static-web-server. Write or edit human-readable text for the Static Web Server (SWS) project — commit messages, CHANGELOG entries, PR descriptions, issue bodies, rustdoc comments, CLI help text, READMEs, and user docs — following project style and conventions. Use whenever producing text a person will read, not only M

How to use this skill

Skill file

Writing SWS Prose

When to load: writing a commit message, CHANGELOG entry, PR description, issue body, advisory text, /// doc comment, --help text, README section, or documentation for the static-web-server/docs repo.

Style

Bad: "SWS leverages advanced algorithms to enhance delivery."

Good: "SWS picks zstd, br, gzip, or deflate from the client's Accept-Encoding q-values."

Commit Messages (`docs/COMMITS.md`)

<type>(<scope>): <subject>

<body>

<footer>

The body follows the kernel's patch-description rules, adapted:

PR Descriptions

Follow .github/PULL_REQUEST_TEMPLATE.md: what changes, why (link the issue or GHSA), how it was tested (commands and results), user-visible effects including new flags and defaults, and whether the docs repo needs an update.

A few lines per section, each fact checkable. No file-by-file recap of the diff, no filler, no AI attribution or credits. Only related changes; CHANGELOG.md is written by the maintainer, not in the PR.

CHANGELOG Entries (`CHANGELOG.md`, maintainer-only)

Written by the maintainer at release time; PRs don't touch it. When asked to draft one, use Keep a Changelog sections as already used in the file (### Breaking Changes, ### New Features, ### Bug Fixes, ### Security & Hardening, ### Performance, ### Refactoring, ### Testing, ### Documentation, ### Maintenance):

- **Short bold title.** One or two sentences on what changed for users, naming flags, env vars, or TOML keys. ([#758](https://github.com/static-web-server/static-web-server/pull/758) by [@user](https://github.com/user))

Describe the effect on users, not the implementation. For a breaking change, state old and new behavior. For a security fix, describe the impact without a ready-made exploit.

Rustdoc and CLI Help

User Documentation

User docs live in static-web-server/docs (src/v3/, src/v2/). A feature page contains:

  1. One-sentence summary
  2. Default state and how to toggle it
  3. CLI, env var, and TOML forms:

```bash

static-web-server --compression-static true

SERVER_COMPRESSION_STATIC=true static-web-server

```

```toml

[general]

compression-static = true

```

  1. Behavior when enabled and disabled, with a curl -I example
  2. Interactions with related features

Terminology

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.