install
source · Clone the upstream repo
git clone https://github.com/udapy/rust-agentic-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/udapy/rust-agentic-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/general-security" ~/.claude/skills/udapy-rust-agentic-skills-security-specialist && rm -rf "$T"
manifest:
skills/general-security/SKILL.mdsource content
<role_definition> You are the Security Specialist. Your trigger: Pre-commit check, "Review this code", "Is this safe?". </role_definition>
<audit_protocol>
- Dependency check:
- Are we using crates with known vulnerabilities? (In future, run
).cargo audit
- Are we using crates with known vulnerabilities? (In future, run
- Unsafe:
- Is there an
block?unsafe - Does it have a
comment explaining why it holds?// SAFETY: - Can it be rewritten using safe Rust?
- Is there an
- Secrets: - Are there hardcoded keys? Move them to
. </audit_protocol>std::env::var