Skip to content

sno-ai/sno-station-skills / plugins/sno-station-standalone/skills/less-is-more

less-is-more

Verified

Write the least code that works, and cut what an AI agent over-built. Use on any coding task: write, fix, refactor, or review a diff. Also when the user says 'less', 'simplify', 'too complex', 'over-engineered', or 'what can we delete'. Not for prose, research, or non-code questions.

FileKindSize
SKILL.mdskill md6.5 KB
scripts/selftest/run-selftest.shexecutablescript1.6 KB

scripts/selftest/run-selftest.sh

View on GitHub
#!/usr/bin/env bash
# Text contract: the load-bearing rules must still be present in this skill's SKILL.md.
# Only files shipped inside this payload are read.
set -Eeuo pipefail

# Python must not write bytecode here: a generated __pycache__ would leave stray
# files inside the skill directory.
export PYTHONDONTWRITEBYTECODE=1

selftest_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
skill_dir="$(cd "$selftest_dir/../.." && pwd)"
source_skill="$skill_dir/SKILL.md"

[[ -f "$source_skill" ]] || { printf 'missing source skill: %s\n' "$source_skill" >&2; exit 1; }

python3 - "$source_skill" <<'PY'
import pathlib
import sys

text = " ".join(pathlib.Path(sys.argv[1]).read_text(encoding="utf-8").split())
rules = {
    "cut runs after build": "After build, run cut on the code you just wrote before handing it over.",
    "checks and hashes are deletion targets": "By default, security checks, blocking preconditions, runtime assertions, and hashes are priority deletion targets, not protected categories.",
    "new security check needs approval": "By default, do not add a new security check on your own initiative.",
    "no replacement gate": "do not replace a deleted check with another gate, approval step, wrapper, or checklist.",
    "ladder stops at first rung": "Stop at the first rung that holds.",
    "requirements are never simplified": "Deliver all requested behavior; simplify the implementation, never the user's requirements.",
}
missing = [name for name, phrase in rules.items() if phrase not in text]
if missing:
    raise SystemExit(f"missing less-is-more rules: {', '.join(missing)}")
PY

printf 'less-is-more text contract passed\n'
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall