All skills
paulrberg avatar

/code-polish

@ccfca26
by Paul Bergpaulrberg/agent-skills94 stars
7

Polish changed code when the user explicitly asks, or when an active workflow requests post-implementation simplification and risk-profiled review over a fixed file scope.

Use this Skill: https://skilld.dev/gh/paulrberg/agent-skills/code-polish

This session only. Nothing lands on disk.

referencesprofilesshell.md

≈183 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Shell Profile

Load when the diff touches shell scripts or shell-heavy CI blocks.

Checks

  • SH-001 Unquoted expansion (HIGH): word-splitting/globbing can alter command behavior.
  • SH-002 Command injection (CRITICAL): eval or string-built commands with untrusted input.
  • SH-003 Error masking (HIGH): missing set -euo pipefail or unchecked critical commands.
  • SH-004 Tempfile race/leak (MEDIUM): insecure temp paths or missing cleanup traps.
  • SH-005 Portability mismatch (LOW): shebang/syntax mismatch for target shell.
  • SH-006 Secret leakage (HIGH): credentials exposed in args, logs, or traces.

Evidence Expectations

  • Show exact expansion/injection vector and resulting command behavior.

Source: SKILL.md on GitHub

1 warning7d5 checks · Risk SAFE
  • Gen Agent Trust Hub7d

    The skill is a code analysis and polishing tool that reviews code against specific profiles and runs verification commands like tests and linters. It is generally safe but inherently handles untrusted source code, which could lead to indirect prompt injection or exploitation during the verification phase (e.g., via malicious tests or configuration files).

  • Socket7d

    No alerts

  • Snyk7d

    Risk: LOW · No issues

  • Runlayer7mo

    1/1 file flagged

  • ZeroLeaks5mo

    1 finding · Score: 86/100

Signed by skilld at ccfca26. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
argument-hint
[paths] [--simplify] [--review] [--with-profile <name>] [--skip-profile <name>]

README badge

README badge for paulrberg/agent-skills/code-polish