Rename scaffold skill to android-project-scaffold-new; add module interactions to android audit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Neil Bantoc 2026-11-04 14:46:28 -08:00
parent 5201aa9bd5
commit 204cb13d60
6 changed files with 65 additions and 10 deletions

View file

@ -26,7 +26,7 @@ set -euo pipefail
SELF_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
TEMPLATES="$SELF_DIR/../templates"
CATEGORIES="build-and-modules file-organization architecture ui navigation networking serialization persistence concurrency dependency-injection background-work platform-integration security-auth observability testing features observations"
CATEGORIES="build-and-modules file-organization architecture module-interactions ui navigation networking serialization persistence concurrency dependency-injection background-work platform-integration security-auth observability testing features observations"
die() { echo "audit.sh: $*" >&2; exit 2; }
now_ms() { python3 -I -c 'import time; print(int(time.time()*1000))'; }
@ -264,6 +264,8 @@ cmd_finding() {
local body; body="$(cat)"; [ -n "$body" ] || die "finding body (stdin) is empty"
local f="$AUDIT_DIR/library/$cat.md"
lock
# A workspace from an older skill version may lack a newer category's doc: seed it from the template.
[ -f "$f" ] || cp "$TEMPLATES/library/$cat.md" "$f"
if grep -q "^### \[$slug\]" "$f"; then
# Same pattern already documented: insert the refinement right after that entry's block.
printf '\n#### +[%s] refinement from `%s`\n%s\n\n' "$slug" "$src" "$body" > "$f.ins"