本文へ移動
cccskills
無料GitHub で公開

humans-tech-debt

Autonomous tech-debt reduction workflow for the Humans repository. Use when the user wants Codex to improve high-value code quality issues in a dedicated git worktree branched from origin/main, commit each improvement separately, push progress, and continue until diminishing returns.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md4.1 KB
  • agents/openai.yaml219 B
  • references/humans-tech-debt-rules.md12.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Humans Tech Debt

Run recurring autonomous tech-debt reduction passes in this repository.

Start Or Resume

  1. Confirm the repo root is the current Humans checkout.
  2. Resume an existing techdebt/* worktree and branch if the user is continuing prior work.
  3. Otherwise fetch origin/main, create a fresh branch techdebt/YYYY-MM-DD-codex-N, and attach a worktree at .claude/worktrees/techdebt-YYYY-MM-DD-codex-N.
  4. Keep scratch notes and temporary files under local/tech-debt-runs/<run-id>/.

Non-Negotiable Limits

  • Section-owned persistence and generated migrations are allowed when the task needs them. Follow section-migrations-in-maintenance; substantial architecture transitions get explicitly scoped tasks and dedicated PRs.
  • Preserve JSON serialization contracts unless the task authorizes changing them.
  • Removing or reshaping public members follows debt-sweep-standing-policy: dead members and pre-approved in-place shapes go; deleting files or controller actions still needs Peter.
  • Prefer structural simplification and consolidation over broad rewrites.
  • Treat Reforge or any score as a detector, not an objective. A score decrease alone never justifies a commit.
  • Do not add thin behavior to DTO/request/command/options/input records just to escape a parameter-bag or long-signature rule. Methods such as ApplyTo, ToDto, RenderWith, BuildSummary, SaveAsync, or service-delegating wrappers are acceptable only when they enforce real invariants, validation, state transitions, or domain policy that the type already owns.

Working Loop

  1. Read humans-tech-debt-rules.md.
  2. Pick one high-value debt item at a time.
  3. Before editing, write a one-sentence architecture thesis: what concept will be deleted, what responsibility will move to its rightful owner, or what duplication/coupling will disappear. If the thesis is "the score drops", abandon the candidate.
  4. Make the smallest coherent improvement that reduces divergence, duplication, misplaced responsibility, or durable public surface.
  5. Add or extend tests when practical.
  6. Run targeted verification, plus dotnet build Humans.slnx --disable-build-servers -v q -clp:ErrorsOnly.
  7. Run a score-blind second pass before commit. Review only the diff, the architecture thesis, and verification. Reject the change if it would not be worth keeping without metric movement.
  8. Run the full dotnet test Humans.slnx --no-build --disable-build-servers -v quiet -clp:ErrorsOnly gate before any push.
  9. Commit each accepted improvement separately and push the branch after verified progress.
  10. Continue until remaining ideas are low-value, speculative, blocked by forbidden areas, or only reducible through metric-gaming changes.

Metric Integrity

  • Use Reforge to find suspicious surfaces and compare checkpoints, not to decide that a weak patch is good.
  • Prefer changes that remove a real concept, collapse duplicated behavior, narrow cross-section dependencies, or move a rule to its owning section.
  • Reject refactors whose main effect is moving assignments, formatting strings, or service calls from one class into a request/command object without reducing coupling or clarifying ownership.
  • Do not keep working toward a percentage target after the remaining candidates fail the architecture thesis or score-blind review. Report that the safe score reduction is exhausted instead.

Parallel Work

  • Use subagents only for independent exploration or disjoint implementation slices.
  • Keep ownership separated to avoid conflicting edits.
  • Review and integrate each result before pushing.

Output

  • Leave the worktree clean when stopping.
  • Report the branch, worktree path, commits made, verification run, and any unresolved risks.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

check-pr

無料

Check an externally created PR for coding rule violations against memory/INDEX.md atoms and docs/architecture/code-review-rules.md.

日本語の概要は準備中です。原文の説明を表示しています。

nobodies-collective/Humans32026年10月7日 更新

Two-phase memory hygiene. Phase 1: scan external Claude Code memory (~/.claude/projects/<slug>/memory/) for durable rules to migrate into the repo and entries already duplicated by repo atoms. Phase 2: audit in-repo memory/, CLAUDE.md, docs/architecture/, and docs/sections/ for dead links, duplication, drift, and bloat.

日本語の概要は準備中です。原文の説明を表示しています。

nobodies-collective/Humans32026年10月7日 更新

Review, repair and steward the nightly Codex debt-sweep PR (branch codex/daily-debt/<date>). Judges every commit GOOD / REPAIR / REVERT, triages the bot review findings through /fix, lands one round-1 commit, files follow-up issues, then stewards the PR itself with a 3-round ceiling. Run by the 08:00 UTC cloud routine; also '/debt-review', '/debt-review 1789'.

日本語の概要は準備中です。原文の説明を表示しています。

nobodies-collective/Humans32026年10月7日 更新

Autonomous themed tech-debt cleanup. Reads docs/architecture/debt-ledger.yml, rotates to the least-recently-served debt theme, works it for a time budget (default 2h) or until drained, opens one PR, and asks judgment questions inline at the end. Use for daily debt burndown without Peter pointing at a target: grandfathered analyzer rules, architecture-test baselines, obsolete-field reads, cross-section stitching.

日本語の概要は準備中です。原文の説明を表示しています。

nobodies-collective/Humans32026年10月7日 更新

ef-regen

無料

Scrap and regenerate the in-flight EF migrations on the current branch as one consolidated migration. Use when migrations have accumulated mid-development cruft (added/removed columns, stacked add-column-to-existing-table fixes, hand-edited SQL that needs to come out, schema changes that should have been one migration but ended up as five), or when the branch has merged main and its migrations are now stuck mid-chain so `dotnet ef migrations remove` is unsafe. Triggers on phrases like 'regen the migrations', 'redo these migrations', 'scrap and regen migrations', 'consolidate the in-flight migrations', 'redo the migration stack', or any time an agent hits the mid-chain situation in `memory/architecture/migration-regen-after-rebase.md`.

日本語の概要は準備中です。原文の説明を表示しています。

nobodies-collective/Humans32026年10月7日 更新

Use when a sprint tracking issue (label `sprint`) on peterdrier/Humans needs working — routine-fired cloud runs, or any unattended session told to execute the sprint queue.

日本語の概要は準備中です。原文の説明を表示しています。

nobodies-collective/Humans32026年10月7日 更新

nobodies-collective のスキルをすべて見る

このスキルの問題を報告する