clean-build-runtime
Skill1 starsChanged 25 days agoMITView on GitHub
Build and repair APIs, backends, bots, scripts, and command-line tools without guessed library calls, unsafe live actions, hidden failures, or careless dependency and secret handling.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibilitySkill
- asset-imageSkill
- browser-acceptanceSkill
- clean-build-coreSkill
- clean-build-verificationSkill
- clean-build-webSkill
- color-systemsSkill
- design-directionSkill
- editorial-articleSkill
- interface-craftSkill
- knowledge-retrievalSkill
- loading-experienceSkill
- motion-showreelSkill
- performanceSkill
- product-copySkill
- release-deliverySkill
- responsive-mobileSkill
- routerSkill
- seo-securitySkill
- style-atlasSkill
- web-presentationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
24 rules. About 0 are common, 24 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈24
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Do not use it for a browser-only visual change.
- Distinctive: line 23
start, build, syntax, lint, and test commands.
- Distinctive: line 28
Read installed source, generated types, built-in help, or current official documentation before relying on a library call that is not …
- Distinctive: line 32
Add a dependency only when the requested behavior justifies it.
- Distinctive: line 33
Verify the exact package name, maintained version, license, and runtime compatibility before installation.
- Distinctive: line 35
Treat packages with native compilation as deployment risks and test installation in a clean environment when they are necessary.
- Distinctive: line 36
Keep optional non-core integrations lazy or isolated so their failure does not stop the primary process.
- Distinctive: line 37
Do not execute installers from unknown sources or pipe remote scripts directly into a shell.
- Distinctive: line 41
Treat account, chat, participant, and message identifiers as opaque platform values.
- Distinctive: line 43
Check permissions, target validity, self-targeting, owner protection, and chat type before destructive moderation or messaging actions.
- Distinctive: line 44
Do not test against real accounts, groups, phone numbers, or recipients without explicit permission.
- Distinctive: line 45
Use mocked events and sockets for routine behavior tests.
- Distinctive: line 46
Keep response format and persona consistent without exposing implementation details.
- Distinctive: line 52
Use parameterized data access and bounded queries.
- Distinctive: line 54
Keep migrations reversible when possible and test them against a copy of data.
- Distinctive: line 56
Do not log credentials, session material, personal data, or full sensitive payloads.
- Distinctive: line 61
Never place tokens, keys, session material, or passwords in source, examples, logs, screenshots, or reports.
- Distinctive: line 63
Keep safe defaults explicit and separate from secret values.
- Distinctive: line 64
Ask before rotating, deleting, or transmitting credentials.
- Distinctive: line 68
Read the exact error and relevant logs.
- Distinctive: line 75
After two failed fixes, stop speculative changes and identify the evidence still needed.
- Distinctive: line 79
Do not swallow exceptions or convert every failure into success.
- Distinctive: line 81
Keep retry behavior bounded and observable.
- Distinctive: line 82
Remove temporary logs and debug switches before delivery.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
Clean Build Runtime
Use when
- building or changing an API, backend service, messaging bot, worker, automation, script, or command-line tool;
- library behavior, platform identifiers, permissions, external side effects, native dependencies, or secrets create material risk;
- a runtime defect needs reproduction and causal repair.
Do not use it for a browser-only visual change.
Verify the runtime contract
Before implementation, identify:
- runtime and target version;
- package manager and lockfile;
- start, build, syntax, lint, and test commands;
- deployment environment and native build limits;
- external services, permissions, rate limits, and side effects;
- data that can be safely used for testing.
Read installed source, generated types, built-in help, or current official documentation before relying on a library call that is not already proven in the project.
Dependency safety
- Add a dependency only when the requested behavior justifies it.
- Verify the exact package name, maintained version, license, and runtime compatibility before installation.
- Pin versions through the project's lock mechanism.
- Treat packages with native compilation as deployment risks and test installation in a clean environment when they are necessary.
- Keep optional non-core integrations lazy or isolated so their failure does not stop the primary process.
- Do not execute installers from unknown sources or pipe remote scripts directly into a shell.
Bot and messaging boundaries
- Treat account, chat, participant, and message identifiers as opaque platform values.
- Resolve identity through the project's existing helper or platform contract instead of raw string assumptions.
- Check permissions, target validity, self-targeting, owner protection, and chat type before destructive moderation or messaging actions.
- Do not test against real accounts, groups, phone numbers, or recipients without explicit permission.
- Use mocked events and sockets for routine behavior tests.
- Keep response format and persona consistent without exposing implementation details.
API and backend boundaries
- Validate and normalize input at the boundary.
- Enforce authentication and authorization separately.
- Use parameterized data access and bounded queries.
- Return deliberate status codes and stable error shapes.
- Keep migrations reversible when possible and test them against a copy of data.
- Protect retries, queues, and webhooks from duplicate side effects.
- Do not log credentials, session material, personal data, or full sensitive payloads.
Secrets and configuration
- Load secrets from the approved environment or ignored credential store.
- Never place tokens, keys, session material, or passwords in source, examples, logs, screenshots, or reports.
- Fail clearly when required configuration is absent.
- Keep safe defaults explicit and separate from secret values.
- Ask before rotating, deleting, or transmitting credentials.
Defect repair
- Read the exact error and relevant logs.
- Reproduce the failure under controlled input.
- Trace the failure to a boundary, state transition, dependency, or contract.
- Apply the smallest causal repair.
- Repeat the original reproduction.
- Exercise a nearby success and failure path for regression risk.
After two failed fixes, stop speculative changes and identify the evidence still needed.
Failure integrity
- Do not swallow exceptions or convert every failure into success.
- Distinguish expected input errors, external service errors, and internal defects.
- Keep retry behavior bounded and observable.
- Remove temporary logs and debug switches before delivery.
- Preserve process health when an optional feature fails, but do not hide the failure.
Evidence
A valid runtime report includes:
Runtime and version:
Installed contract inspected:
Inputs and side effects tested:
Permission and destructive guards:
Success and failure paths:
Clean installation or build result:
Known environmental limits:Human documentation: ../../docs/guides/clean-build-runtime.md.
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.

