Skip to content

me2resh/apexyard / .claude/skills/orbit

Run the opt-in ORBIT planning lifecycle for one managed project without replacing ApexYard governance.

FileKindSize
SKILL.mdskill md27.5 KB
lib/handoff-preflight.shexecutablescript9.2 KB
lib/record-check.shexecutablescript3.5 KB
lib/records-lint.shexecutablescript14.5 KB
lib/refresh-slice-record.shexecutablescript3.4 KB
lib/resolve-project-repo.shexecutablescript2.1 KB
lib/slice-pr-lint.shscript10.6 KB
lib/status-live.shexecutablescript3.4 KB
lib/warn-criterion-shape.shexecutablescript3.3 KB
lib/warn-uncovered-outcomes.shexecutablescript8.2 KB
tests/_lib-fixtures.shexecutablescript8.0 KB
tests/_lib-slice-fixtures.shscript1.8 KB
tests/smoke.shexecutablescript1.3 KB
tests/test_criterion_shape.shexecutablescript3.5 KB
tests/test_handoff_allows_duplicate_prefix_match.shexecutablescript1.9 KB
tests/test_handoff_preflight_happy_path.shexecutablescript1.9 KB
tests/test_handoff_refusal_cli_absent.shexecutablescript1.6 KB
tests/test_handoff_refusal_duplicate_search_fails.shexecutablescript1.5 KB
tests/test_handoff_refusal_duplicate_search_truncated.shexecutablescript2.1 KB
tests/test_handoff_refusal_duplicate_slice.shexecutablescript1.8 KB
tests/test_handoff_refusal_leak_scrub.shexecutablescript4.8 KB
tests/test_handoff_refusal_missing_option_value.shexecutablescript2.4 KB
tests/test_handoff_refusal_slice_id_double_quote.shexecutablescript2.9 KB
tests/test_handoff_refusal_slice_id_newline.shexecutablescript2.8 KB
tests/test_handoff_refusal_validate_fails.shexecutablescript1.4 KB
tests/test_record_check_blank_line.shexecutablescript4.1 KB
tests/test_record_check_change_only.shexecutablescript3.7 KB
tests/test_records_lint_changed_fields.shexecutablescript4.8 KB
tests/test_records_lint_faults.shexecutablescript6.1 KB
tests/test_records_lint_slice_evidence.shscript1.2 KB
tests/test_records_lint_slice_merge_base_drift.shexecutablescript7.2 KB
tests/test_records_lint_slice_provenance.shscript532 B
tests/test_records_lint_slice_scope.shscript1.8 KB
tests/test_records_lint_slice_warn.shscript324 B
tests/test_records_lint_upstream_skip.shscript3.0 KB
tests/test_refresh_slice_record.shscript3.4 KB
tests/test_resolve_project_repo_registry.shexecutablescript4.2 KB
tests/test_slice_pr_proposal.shscript2.9 KB
tests/test_slice_ticket_workflow.shscript1.4 KB
tests/test_status_live_squash_commit.shscript858 B
tests/test_status_live_writes_nothing.shexecutablescript1.9 KB
tests/test_uncovered_outcomes.shscript11.0 KB

lib/warn-criterion-shape.sh

View on GitHub
#!/usr/bin/env bash
# Print advisory warnings for criterion statements and assessment explanations.
# Warnings exit 0. Usage and record errors exit 1.

set -u
set -o pipefail
LC_COLLATE=C
export LC_COLLATE

orbit_root=""
plan_file=""
reconciliation_file=""

error() {
  echo "ORBIT criterion shape check failed: $*." >&2
  exit 1
}

while [ "$#" -gt 0 ]; do
  case "$1" in
    --orbit-root|--plan|--reconciliation)
      key="$1"
      [ "$#" -ge 2 ] && [ -n "$2" ] || error "$key needs a value"
      case "$key" in
        --orbit-root) orbit_root="$2" ;;
        --plan) plan_file="$2" ;;
        --reconciliation) reconciliation_file="$2" ;;
      esac
      shift 2
      ;;
    *) error "unknown option $1" ;;
  esac
done

[ -n "$orbit_root" ] && [ -d "$orbit_root" ] || error "record directory is missing"
command -v jq >/dev/null 2>&1 || error "jq is unavailable"

# Record-set mode checks all records in the active directories, not history.
if [ -n "$plan_file" ]; then
  plans=("$plan_file")
  [ -f "$plan_file" ] || error "Plan record is missing: $plan_file"
else
  plans=("$orbit_root"/plans/*.json)
fi
if [ -n "$reconciliation_file" ]; then
  reconciliations=("$reconciliation_file")
  [ -f "$reconciliation_file" ] || error "Reconciliation record is missing: $reconciliation_file"
else
  reconciliations=("$orbit_root"/reconciliations/*.json)
fi

for current_plan in "${plans[@]}"; do
  [ -f "$current_plan" ] || continue
  jq -e 'type == "object" and (.id | type == "string") and
    (.revision | type == "number") and (.acceptanceCriteria | type == "array") and
    all(.acceptanceCriteria[]; (.id | type == "string") and (.statement | type == "string"))' \
    "$current_plan" >/dev/null 2>&1 || error "invalid Plan record: $current_plan"
  warnings=$(jq -r '
    . as $plan | .acceptanceCriteria[] |
    (.statement | [scan("\\S+")] | length) as $words |
    " (Plan \($plan.id) revision \($plan.revision))." as $context |
    (if $words > 50 then
      "WARNING: ORBIT criterion \(.id) statement has \($words) words; limit is 50" + $context
    else empty end),
    (if (.statement | contains("Shown by:")) then
      "WARNING: ORBIT criterion \(.id) statement contains Shown by:" + $context
    else empty end)
  ' "$current_plan") || error "cannot read Plan record: $current_plan"
  [ -z "$warnings" ] || printf '%s\n' "$warnings" >&2
done

for current_reconciliation in "${reconciliations[@]}"; do
  [ -f "$current_reconciliation" ] || continue
  jq -e 'type == "object" and (.planId | type == "string") and
    (.planRevision | type == "number") and (.criterionAssessments | type == "array") and
    all(.criterionAssessments[]; (.criterionId | type == "string") and
      (.status | type == "string") and ((.explanation // "") | type == "string"))' \
    "$current_reconciliation" >/dev/null 2>&1 || error "invalid Reconciliation record: $current_reconciliation"
  warnings=$(jq -r '
    . as $reconciliation | .criterionAssessments[] |
    select(.status != "achieved") |
    select((.explanation // "" | startswith("Missing:")) | not) |
    "WARNING: ORBIT criterion \(.criterionId) \(.status) explanation does not start with Missing: (Plan \($reconciliation.planId) revision \($reconciliation.planRevision))."
  ' "$current_reconciliation") || error "cannot read Reconciliation record: $current_reconciliation"
  [ -z "$warnings" ] || printf '%s\n' "$warnings" >&2
done

exit 0
planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.Stars: 108kUpdated Claude CodeCodexVerifiedInstall
meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要".Stars: 108kUpdated Claude CodeCodexVerifiedInstall