본문으로 건너뛰기
cccskills
무료GitHub에 공개

tech-debt-scan

Research-only technical debt scan for this EspControl repository. Use when the user asks for a tech debt scan, cleanup backlog, maintainability review, messy or rushed implementation review, duplicated logic audit, fragile assumption scan, dead code review, architecture cleanup plan, or asks to identify code that works now but will be painful to maintain later.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jtenniswood/espcontrol스타 1,120(GitHub 1,120 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md5.6 KB
  • agents/openai.yaml217 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Tech Debt Scan

Perform a research-only review of the repository and turn findings into a practical cleanup backlog. Do not implement fixes during the scan unless the user separately selects a backlog item and asks for it to be fixed.

The user is technical but not development-oriented. Explain findings in plain language, with enough file detail for a future implementation task.

Guardrails

  • Treat the first pass as research only.
  • Do not change product code, firmware, docs, generated files, or tests while scanning.
  • The only allowed file change during the scan is creating or updating the cleanup backlog file.
  • If the user asks to fix an item later, use the repository branching and PR workflow from AGENTS.md.
  • Do not close issues or merge PRs as part of this skill.

Backlog File

Create or update:

.agents/tech-debt-cleanup-backlog.md

Use this file as the durable task list. Keep it concise enough to revisit after each cleanup task. If the file already exists, update it instead of replacing it blindly: preserve unresolved useful items, remove or mark completed items only when there is direct evidence, and add new findings with dates or context where helpful.

Scan Workflow

  1. Inspect repository state.

    • Check the branch and local changes.
    • Do not revert or overwrite user work.
    • Note whether the scan was run from main, a feature branch, or a PR branch.
  2. Map the project structure.

    • Identify the main firmware, device, web, docs, scripts, and generated output areas.
    • Read representative files before drawing conclusions.
    • Prefer targeted searches with rg and focused file reads.
  3. Look for these debt patterns:

    • Rushed or messy implementation.
    • Duplicated logic.
    • Inconsistent naming or folder structure.
    • Fragile assumptions, hidden coupling, or order-dependent behavior.
    • Missing error handling or weak failure messages.
    • Security, validation, or unsafe input handling issues.
    • Dead code, unused files, stale generated output, or obsolete scripts.
    • Architecture that is becoming confusing.
    • Code that works now but will be painful to maintain later.
  4. Validate each meaningful finding.

    • Name the files or folders involved.
    • Explain the observed pattern, not just the conclusion.
    • Check whether there is an existing helper, component, script, or pattern that the code should probably use instead.
    • Separate confirmed problems from areas that only need deeper inspection.
  5. Prioritize by practical impact.

    • Critical: likely to cause incorrect builds, broken firmware, unsafe input, release risk, upgrade risk, data loss, or confusing architecture around a core workflow.
    • Medium: clear maintainability cost, duplication, inconsistency, fragile assumptions, or missing validation that is not immediately dangerous.
    • Nice-to-have: polish, readability, organization, small consistency issues, or optional follow-up checks.

Backlog Format

Write the backlog file with this structure:

# Tech Debt Cleanup Backlog

Last reviewed: YYYY-MM-DD
Review scope: <branches, folders, or areas inspected>

## Critical Issues

### 1. <short action-oriented title>
- Where: `<file-or-folder>` and any related areas
- Why it matters: <plain-English risk>
- Recommended change: <practical fix direction>
- Safe to fix now?: Yes / Wait, with reason
- Suggested first step: <smallest useful next action>

## Medium Cleanup Items

### 1. <short action-oriented title>
- Where: `<file-or-folder>` and any related areas
- Why it matters: <plain-English risk>
- Recommended change: <practical fix direction>
- Safe to fix now?: Yes / Wait, with reason
- Suggested first step: <smallest useful next action>

## Nice-to-Have Polish

### 1. <short action-oriented title>
- Where: `<file-or-folder>` and any related areas
- Why it matters: <plain-English risk>
- Recommended change: <practical fix direction>
- Safe to fix now?: Yes / Wait, with reason
- Suggested first step: <smallest useful next action>

## Completed Items

- YYYY-MM-DD: <item completed and PR/branch if known>

## Scan Notes

- Checks run: <commands or review activities>
- Areas not deeply reviewed: <known gaps>

Use numbering inside each priority section so the user can choose a cleanup task by section and number, such as "Medium item 2".

Response Workflow

After creating or updating the backlog file:

  1. Show the prioritized cleanup backlog in the chat.
  2. Keep the wording approachable and focused on practical next steps.
  3. Ask the user to select the next task to work on.

After completing a selected cleanup task in a later turn:

  1. Update the backlog file to move or mark the completed item.
  2. Re-display the remaining cleanup backlog.
  3. Ask the user to select the next task.

Output Style

Use this chat format after a scan:

Created/updated: .agents/tech-debt-cleanup-backlog.md

Critical issues:
1. <title> - <one-line practical impact>

Medium cleanup items:
1. <title> - <one-line practical impact>

Nice-to-have polish:
1. <title> - <one-line practical impact>

Pick the next item by saying something like "Medium item 1".

If no critical issues are found, say that clearly and still list medium and nice-to-have items.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Clean up completed Git branches and worktrees for this repository both locally and on GitHub. Use when the user asks to remove complete, completed, merged, stale, finished, or done branches, delete merged GitHub branches, tidy local worktrees, prune completed PR branches, or clean up branches and worktrees after pull requests have merged.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jtenniswood/espcontrol1.1천2026년 10월 26일 업데이트

Clean up local branch worktree folders for this repository after their branches or pull requests have merged to main. Use when the user asks to remove merged branch folders, tidy local worktrees, clean old feature branch directories, prune merged PR worktrees, or clean up local development folders without impacting main.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jtenniswood/espcontrol1.1천2026년 10월 26일 업데이트

compile

무료

Test compile ESPHome firmware for all devices using Docker and fix any YAML or configuration errors until every device compiles successfully. Use when the user says "/compile", "test compile", "compile check", "build test", "check builds", "verify compile", or wants to make sure all devices compile before committing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jtenniswood/espcontrol1.1천2026년 10월 26일 업데이트

Review EspControl repository changes specifically for missing, stale, excessive, or misplaced documentation. Use when the user asks for a documentation coverage review, asks whether a feature or behavior change is concisely documented, invokes $docs-review, or explicitly wants docs checked as a secondary pass during a pull request, branch, or local diff review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jtenniswood/espcontrol1.1천2026년 10월 26일 업데이트

Provide an expert codebase review for this repository. Use when the user says "Expert Review" or "/expert-review", asks for an expert review, wants refactoring or codebase improvement recommendations, wants consistency and quality assessed, or asks how to reduce duplication, improve component use, preserve the end-user experience, and keep upgrades cleanly migratable.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jtenniswood/espcontrol1.1천2026년 10월 26일 업데이트

Reimagine this repository from first principles using the current product and user experience as the target. Use when the user says "/expert-reset", asks how the project should be rebuilt if starting again, wants bold architecture or component-structure recommendations, or wants a research-only reset plan unconstrained by current implementation details.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

jtenniswood/espcontrol1.1천2026년 10월 26일 업데이트

jtenniswood의 스킬 모두 보기

이 스킬의 문제 신고