restore: skills

This commit is contained in:
oboard
2026-03-31 20:11:19 +08:00
parent 33c1de7c75
commit 0f21b48891
38 changed files with 1756 additions and 78 deletions

View File

@@ -1,3 +1,32 @@
# Verify Server Example
Restored placeholder content.
Use this pattern when the change affects an API handler, transport, worker, or server-side integration.
## Example
Change: update a request handler or startup bootstrap for a local service.
Verification:
1. Start only the service or subprocess needed for the changed path.
2. Send a minimal request that reaches the edited code.
3. Confirm status, payload shape, and any important side effect.
```bash
# Example pattern only; adapt to the repo's actual server entrypoint
bun run dev -- --some-server-mode
curl -i http://127.0.0.1:PORT/health
```
## What to Look For
- Process starts without crashing.
- Request returns the expected status code.
- Response shape matches the intended contract.
- Logs do not show obvious runtime errors on the touched path.
## Good Result Summary
- `Verified: server booted and accepted a health-check request.`
- `Verified: the changed handler returned the expected status and payload.`
- `Not verified: unrelated routes and production-only integrations.`