Skip to content

AlpacaLabsLLC/skills-for-architects / skills/skill-maker

skill-maker

Verified

Create or update an Arch Studio skill for Codex or Claude Code using the host's native skill maker when available, with Arch Studio governance and validation. Use when asked to create, package, adapt or revise a reusable skill.

FileKindSize
README.mdmarkdown2.1 KB
SKILL.mdskill md8.0 KB
host-contract.jsonconfig1.1 KB
scripts/validate-skill.shexecutablescript1.3 KB
scripts/validate_skill.pyscript1.3 KB

scripts/validate-skill.sh

View on GitHub
#!/usr/bin/env bash
set -euo pipefail

target=${1:-}
[ -n "$target" ] || { echo "usage: validate-skill.sh <skill-directory>" >&2; exit 2; }
[ -d "$target" ] || { echo "skill directory not found: $target" >&2; exit 1; }
[ -f "$target/SKILL.md" ] || { echo "missing SKILL.md: $target" >&2; exit 1; }
[ -f "$target/README.md" ] || { echo "missing README.md: $target" >&2; exit 1; }

directory=$(basename -- "$target")
case "$directory" in
  ''|*[!a-z0-9-]*|-*|*-) echo "skill directory must be lowercase kebab-case: $directory" >&2; exit 1 ;;
esac

name=$(sed -n 's/^name:[[:space:]]*//p' "$target/SKILL.md" | head -1)
description=$(sed -n 's/^description:[[:space:]]*//p' "$target/SKILL.md" | head -1)
[ "$name" = "$directory" ] || { echo "frontmatter name '$name' must match directory '$directory'" >&2; exit 1; }
[ -n "$description" ] || { echo "frontmatter description is required" >&2; exit 1; }
grep -q '^---$' "$target/SKILL.md" || { echo "SKILL.md requires YAML frontmatter" >&2; exit 1; }
# shellcheck disable=SC2088 # This is the literal shortcut the generated file must reject.
home_shortcut_pattern='~/'
if rg -n --fixed-strings "$home_shortcut_pattern" "$target/SKILL.md"; then
  echo "SKILL.md must not contain ~/ paths" >&2
  exit 1
fi

printf 'valid skill scaffold: %s\n' "$target"
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: 471kUpdated 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