跳到正文
cccskills
免费在 GitHub 公开

expert-reset

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/espcontrol星标 1,120(GitHub 1,120 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md7.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/expert-reset

Overview

Review the project as if starting it again today, while preserving the current desired user experience as the product target. The goal is not to make small local improvements. The goal is to describe the architecture, component model, data boundaries, tooling, and migration strategy that would be chosen if the project were being rebuilt with everything now known about the product.

Default to research and feedback only. Do not edit code, refactor files, close issues, change generated assets, or start implementation unless the user explicitly asks for that after reviewing the recommendations.

Be bold. Nothing is out of scope for recommendation: architecture, component structure, build system, data formats, code generation, testing, firmware layout, web UI delivery, repository structure, release process, documentation, and migration strategy may all be reconsidered. Still keep recommendations practical, staged, and grounded in evidence from the repository.

The audience is technical but not development-oriented. Explain the tradeoffs plainly, avoid unexplained jargon, and connect technical structure back to user experience, upgrade safety, reliability, and maintainability.

Review Principles

  • Treat the current user experience as the target product, not the current code structure.
  • Separate "ideal rebuild architecture" from "how to migrate there from here."
  • Prefer clear ownership boundaries: product experience, shared configuration schema, generated artifacts, firmware integration, web UI, validation, docs, and release workflows should each have obvious homes.
  • Recommend replacing duplicated or parallel systems with one source of truth where that would reduce bugs, improve consistency, or make releases safer.
  • Be explicit when a recommendation would be disruptive. Do not dilute it; pair it with a staged migration path.
  • Do not preserve current implementation choices just because they already exist. Preserve them only when they are still the best fit.
  • Call out what should not be rebuilt if the current approach is already sound.
  • Focus on research quality over volume. Every major recommendation should be backed by files, patterns, or observed workflows.

Workflow

1. Establish Current State

Inspect the branch, local changes, project layout, and recent structure.

git status --short --branch
find . -maxdepth 3 -type f | sort

If there are local changes, work with them. Do not revert or overwrite user work. Since this is a research-only review, avoid changing files unless the user later asks for implementation.

2. Reconstruct the Target Product

Identify the current user experience and the product promises the architecture must support:

  • Main user workflows and configuration flows
  • Device and firmware targets
  • Web UI surfaces and generated web assets
  • Saved settings, schemas, and compatibility expectations
  • Build, validation, documentation, and release flows
  • Areas where users expect upgrades to preserve behavior

Prefer evidence from source files, generated files, documentation, scripts, tests, and release workflows over assumptions.

3. Find the Natural Architecture

Ask what structure would make the product easiest to understand, extend, test, and release if starting again:

  • What should be the source of truth for cards, controls, icons, screens, device definitions, and generated output?
  • Which parts should be generated, and which parts should be handwritten?
  • Where should validation live so mistakes are caught before firmware or web output is built?
  • What reusable components or modules should exist across the web UI and firmware-facing configuration?
  • What boundaries would reduce accidental coupling between device definitions, web behavior, generated assets, and documentation?
  • What test strategy would protect the user experience and upgrade path?
  • What release process would make it obvious that generated output, firmware configs, docs, and published assets are in sync?

4. Compare Current State to the Reset Design

For each major area, explain:

  • Current approach: how it appears to work today
  • Reset recommendation: what should be different if rebuilding
  • Why: the user, reliability, maintenance, or release benefit
  • Evidence: files, duplicated patterns, fragile boundaries, or missing checks
  • Migration path: how to move from today without breaking existing users
  • Risks: what could go wrong and how to control it

5. Be Deliberately Bold

Include at least one section for high-conviction structural changes that may be too large for a normal refactor review. Examples could include:

  • A unified product schema with generators for web, firmware, docs, and tests
  • A component library or design-system layer for repeated UI patterns
  • A clearer split between authored source, generated artifacts, and published webserver output
  • A fixture-based compatibility test suite for old and new configurations
  • A staged replacement of parallel device or web output paths
  • A release gate that proves generated files are current before publishing

Only include examples that are supported by repository evidence.

6. Keep It Research-Only

Do not implement changes during this skill run. If implementation ideas arise, capture them as recommended phases or first experiments.

Run lightweight checks only when they improve confidence in the research. Avoid expensive firmware compiles or broad generated-file rewrites unless the user separately asks for deeper validation.

Output Format

Start with a short plain-English summary of the reset thesis: the architecture you would choose if starting again and why.

Then provide:

Target product understanding:
- <what the project appears to be optimizing for from the user's perspective>

Recommended reset architecture:
- <top-level architecture and ownership boundaries>

Bold recommendations:
1. <Recommendation title>
   Strength: Strong / Moderate / Exploratory
   What changes: <the architectural or structural change>
   Why it matters: <plain-English benefit>
   Evidence from the repo: <files, patterns, or examples reviewed>
   User experience impact: <should preserve / improves consistency / needs careful migration>
   Migration path: <staged path from current repo to target architecture>
   Risk controls: <tests, compatibility layers, rollout phases, rollback points>
   Effort: Small / Medium / Large
   First experiment: <smallest useful research or implementation step>

What I would keep:
- <current choices that are still good and should not be rebuilt unnecessarily>

Suggested roadmap:
- Phase 1: <research, tests, or low-risk foundations>
- Phase 2: <structural migration>
- Phase 3: <cleanup, enforcement, or release gates>

Not recommended:
- <tempting rebuild ideas that are not worth it, with why>

Checks or research performed:
- <commands, files inspected, or checks skipped with reason>

If there is not enough evidence to make a confident recommendation, say what needs to be inspected next instead of inventing certainty.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 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/espcontrol11202026年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/espcontrol11202026年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/espcontrol11202026年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/espcontrol11202026年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/espcontrol11202026年10月26日 更新

Flash EspControl display firmware from this repository using ESPHome. Use when the user invokes /flash-displays with no extra display name, or asks to flash, reflash, update, or upload firmware to all known displays in sequence, or to a specific display such as 7inch, 7-inch P4, 10inch, 10-inch V1, 10-inch V2, 10-inch V3, P4-86, 4.3-inch P4, 4-inch P4, or S3, over an explicitly supplied OTA target or USB.

中文简介正在准备中。当前显示原文说明。

jtenniswood/espcontrol11202026年10月26日 更新

查看 jtenniswood 的全部技能

报告此技能的问题