Skip to content
Back to skills

Code Skill

ASecurity

Write a small Node module with a test beside it. Use when asked for a utility function, a helper module or a script with tests.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
ai-agentsnode

Security analysis

A100/100

Pro scans all 17 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add milesroxas/skill-studio --skill _skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/milesroxas-code-skill/badge)](https://www.skillsdirectory.com/skills/milesroxas-code-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-skill
description: Write a small Node module with a test beside it. Use when asked for a utility function, a helper module or a script with tests.
---

# Small modules

Write one ES module per task and a test file beside it.

## Rules

- Export the function the prompt names, and nothing else.
- Put the module in `outputs/<name>.mjs` and its test in `outputs/<name>.test.mjs`.
- Write the test with `node:test` and `node:assert/strict`, with at least three cases.
- Never add dependencies; the module runs on Node alone.
- Handle the edge case the prompt mentions before the happy path.

Files in this skill

  • SKILL.md603 B
  • evals/bench.json36 B
  • evals/cases/sum-module/case.yaml235 B
  • evals/cases/sum-module/graders/01-skips-non-numbers.md121 B
  • evals/cases/sum-module/graders/02-no-imports.md57 B
  • evals/cases/sum-module/prompt.md263 B
  • evals/runs/2026-10-30-skill-v0-claude-haiku/_skill/SKILL.md603 B
  • evals/runs/2026-10-30-skill-v0-claude-haiku/report.json3 KB
  • evals/runs/2026-10-30-skill-v0-claude-haiku/run.json900 B
  • evals/runs/2026-10-30-skill-v0-claude-haiku/sum-module-s1/.agents/skills/code-skill/SKILL.md603 B
  • evals/runs/2026-10-30-skill-v0-claude-haiku/sum-module-s1/agent.json180 B
  • evals/runs/2026-10-30-skill-v0-claude-haiku/sum-module-s1/notes.md1 KB
  • evals/runs/2026-10-30-skill-v0-claude-haiku/sum-module-s1/outputs/sum.mjs342 B
  • evals/runs/2026-10-30-skill-v0-claude-haiku/sum-module-s1/outputs/sum.test.mjs587 B
  • evals/runs/2026-10-30-skill-v0-claude-haiku/sum-module-s1/prompt.md908 B
  • evals/runs/2026-10-30-skill-v0-claude-haiku/sum-module-s1/timing.json227 B
  • evals/runs/2026-10-30-skill-v0-claude-haiku/sum-module-s1/transcript.jsonl3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.