ccoalm/ccl-skills / skills/skill-extraction-workflow
skill-extraction-workflow
Flagged复盘 / 沉淀 / 总结经验 / 补进技能 / 技能缺陷 / 流程优化 / would other teammates hit this / will we forget next time / teamwide recurrence / extract skill / post-mortem / 深度 review·审计技能仓库 / 对标外部技能包找 gap(benchmark superpowers·gstack 等) / 核查全局安装点(~/.config/opencode 等)旧快照是否遮蔽本仓技能 / 本仓(ccl-skills 等共享技能仓)OpenCode 项目配置·命令治理 → turn reusable lessons into durable CCL skills.
scripts/test_regression_runner_registration.sh
View on GitHub#!/usr/bin/env bash
# Guard: every test_*.sh in the extraction scripts/ dir must be registered in
# test_check_ccl_regressions.sh's fast_tests/heavy_tests arrays, or CI
# silently skips it — the false-green class that let test_validate_skill_credential_cwd.sh
# ship unrun. This test asserts zero unregistered on the real repo (so a future
# unwired test turns CI red), and proves the detector actually flags an
# unregistered fixture (non-vacuous).
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
RUNNER="$SCRIPT_DIR/test_check_ccl_regressions.sh"
[ -f "$RUNNER" ] || { echo "FAIL: runner not found: $RUNNER" >&2; exit 1; }
fail() { echo "FAIL: $*" >&2; exit 1; }
# (1) Real repo: no sibling test_*.sh is left out of the aggregate arrays.
out="$(bash "$RUNNER" --list-unregistered)"
[ -z "$out" ] || fail "test_*.sh not registered in fast_tests/heavy_tests (CI would not run them):\n$out"
# (2) Non-vacuous: an unregistered fixture IS reported and a registered name is NOT.
TMP="$(mktemp -d "${TMPDIR:-/tmp}/regreg.XXXXXX")"
trap 'rm -rf "$TMP"' EXIT
: > "$TMP/test_zzz_unregistered.sh"
: > "$TMP/test_generic_r0_leak_scan.sh" # a name that IS in fast_tests
fout="$(REGRESSION_SCRIPTS_DIR="$TMP" bash "$RUNNER" --list-unregistered)"
case "$fout" in
*test_zzz_unregistered.sh*) : ;;
*) fail "detector did not flag an unregistered fixture\n$fout" ;;
esac
case "$fout" in
*test_generic_r0_leak_scan.sh*) fail "detector wrongly flagged a registered test\n$fout" ;;
*) : ;;
esac
echo "test_regression_runner_registration: ok"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 471k | Updated | Claude CodeCodex | Verified | Install |
| 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: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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 available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |