Implicit Contract Defense
v1.0.0Rust + SeaORM + 任意前端的隐式契约防御规范。 当项目涉及 Rust 后端 + 前端 + 数据库开发时激活。 核心:所有跨边界交互收敛到隔离仓,内部壳只写纯 Rust 逻辑。
⭐ 0· 66·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description (Rust + SeaORM + frontend contract discipline) match the included artifacts: a CI checker (check_contracts.sh) and a ts-rs generator wrapper (gen_types.sh). No unrelated credentials, binaries, or installs are requested.
Instruction Scope
SKILL.md confines actions to creating contract/consts/entity files and running the two scripts. Note: gen_types.sh invokes `cargo test` to trigger ts-rs exports, which will run the project's test harness (and therefore execute code from the repository) — this is expected for ts-rs workflows but is the primary runtime action to be aware of.
Install Mechanism
No install spec or external downloads; the skill is instruction-only with two local scripts. Nothing in the install surface writes or fetches code from remote URLs.
Credentials
The skill declares no environment variables, no credentials, and no config paths. The scripts operate on the source tree only and don't attempt to access unrelated secrets or services.
Persistence & Privilege
always:false and no mechanism to persist or modify other skills or agent-wide config. The skill does not request elevated or permanent privileges.
Assessment
This skill is primarily a coding/style guideline with two shell scripts for CI and type generation; it's internally consistent. Before running: (1) review check_contracts.sh to confirm its grep/awk rules match your project conventions, (2) be aware gen_types.sh runs `cargo test` which will execute your project's tests (so ensure tests are safe/trusted), and (3) add the scripts to your repo and wire up paths as SKILL.md instructs. No credentials or remote downloads are required by the skill itself.Like a lobster shell, security has layers — review code before you run it.
contractsvk97e76b5rbmsdx8ss7ma1g91rn83n6hclatestvk97e76b5rbmsdx8ss7ma1g91rn83n6hcrustvk97e76b5rbmsdx8ss7ma1g91rn83n6hcseaormvk97e76b5rbmsdx8ss7ma1g91rn83n6hctype-safetyvk97e76b5rbmsdx8ss7ma1g91rn83n6hctypescriptvk97e76b5rbmsdx8ss7ma1g91rn83n6hc
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
