nacelle
Copilot instructions4 starsChanged 4 months agoMITView on GitHub
Nacelle is an experimental Tokio-based Rust library for streaming services across TCP, Unix sockets, HTTP/1, and TLS-enabled listeners. Keep changes small, validated, and consistent with the existing crate boundaries. When asked to commit, use Conventional Commits with a short, scoped message such as fix: ..., feat: ..., perf: ..., docs: ..., or test: .... Commit only the coherent change requested; do not include unrelated working-tree changes.
In this repositoryOne other file it gives its agents.
- planningSkill
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
13 rules. About 0 are common, 3 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Read README.md and docs/topics/architecture.md before changing public behavior or crate boundaries.
- Very specific: line 8
Keep transport-agnostic byte/message decoding, encoding, asynchronous reader/writer adapters, and reusable framing buffers in nacelle-codec.
- Very specific: line 9
Keep transport-neutral request, response, handler, lifecycle, limits, telemetry, and TLS primitives in nacelle-core.
- Very specific: line 10
Keep TCP and Unix socket behavior in nacelle-tcp, all http behavior in nacelle-http, and convenience re-exports plus the reference protocol …
- Very specific: line 11
Treat TCP Protocol implementations as consumers of the nacelle-codec decoder contract and, together with HTTP conversion, as adapters …
- Very specific: line 13
Keep generated files, dependency updates, formatting churn, and metadata edits out of scope unless required.
- Distinctive: line 21
Add or update focused tests for behavior changes and regressions.
- Very specific: line 23
Update nacelle-codec/README.md and docs/reference/nacelle-codec.md when codec APIs or contracts change.
- Distinctive: line 29
Run the narrowest relevant test or check first, then broaden validation to match the change's blast radius.
- Distinctive: line 30
Do not make unqualified production-readiness claims.
- Very specific: line 32
Follow .github/instructions/rust.instructions.md for Rust formatting, linting, and workspace tests.
- Very specific: line 33
Run ./scripts/validate-all.sh when changes affect feature combinations, TLS providers, crate integration, or release readiness.
- Very specific: line 38
When asked to commit, use Conventional Commits with a short, scoped message such as fix: ..., feat: ..., perf: ..., docs: ..., or test: ....
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Nacelle Project Guidelines
Nacelle is an experimental Tokio-based Rust library for streaming services across TCP, Unix sockets, HTTP/1, and TLS-enabled listeners. Keep changes small, validated, and consistent with the existing crate boundaries.
Architecture
- Read
README.mdanddocs/topics/architecture.mdbefore changing public behavior or crate boundaries. - Keep transport-agnostic byte/message decoding, encoding, asynchronous reader/writer adapters, and reusable framing buffers in
nacelle-codec. - Keep transport-neutral request, response, handler, lifecycle, limits, telemetry, and TLS primitives in
nacelle-core. - Keep TCP and Unix socket behavior in
nacelle-tcp, all http behavior innacelle-http, and convenience re-exports plus the reference protocol innacelle. - Treat TCP
Protocolimplementations as consumers of thenacelle-codecdecoder contract and, together with HTTP conversion, as adapters around the transport-neutralHandlerboundary. - Preserve public APIs, feature behavior, configuration defaults, and wire behavior unless the task explicitly requires a change. Update the corresponding reference docs when these contracts change.
- Keep generated files, dependency updates, formatting churn, and metadata edits out of scope unless required. Allow Cargo to update
Cargo.lockonly when dependency resolution changes.
Implementation
- Inspect the nearby implementation, tests, manifests, and documentation before editing, then follow the local pattern.
- Make the smallest coherent change in the crate that owns the behavior. Avoid moving transport-specific policy into
nacelle-core. - Preserve the
MessageDecoderprogress contract: successful decoding consumes input, while requesting more input leaves the cumulative buffer unchanged. Custom decoders must reject oversized input before buffers can grow without bound. - Preserve
nacelle-codecbuffer ownership and zero-copy behavior unless the task explicitly changes that contract; decoded messages may share the reader's backing allocation. - Add or update focused tests for behavior changes and regressions. Cover feature-gated behavior under the relevant feature combinations.
- Preserve bounded resource use, backpressure, graceful shutdown, and low-cardinality telemetry.
- Update
nacelle-codec/README.mdanddocs/reference/nacelle-codec.mdwhen codec APIs or contracts change. Update the corresponding documentation for other public APIs, features, configuration, operator behavior, compatibility, or performance guidance. docs/internal/is intentionally blanket-ignored. Keep documents local and untracked; do not add.gitignoreexceptions for internal docs..github/plans/is intentionally blanket-ignored. Keep documents local and untracked; do not add.gitignoreexceptions for plans.
Validation
- Run the narrowest relevant test or check first, then broaden validation to match the change's blast radius.
- Do not make unqualified production-readiness claims. Scope them by audience, environment, workload, and rollback posture, and report correctness, security, performance, operability, compatibility, and documentation evidence separately.
- For codec changes, start with
cargo test -p nacelle-codec --all-featuresand run its benchmark comparison when making performance claims. - Follow
.github/instructions/rust.instructions.mdfor Rust formatting, linting, and workspace tests. - Run
./scripts/validate-all.shwhen changes affect feature combinations, TLS providers, crate integration, or release readiness. - Build the mdBook documentation when changing documentation structure, links, or rendered content.
Commits
When asked to commit, use Conventional Commits with a short, scoped message such as fix: ..., feat: ..., perf: ..., docs: ..., or test: .... Commit only the coherent change requested; do not include unrelated working-tree changes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

