kdy1/kdy1-scripts

static-analysis

Analyze all code in a user-specified scope, or the whole repository when scope is omitted, and hand each confirmed bug to $add-issue immediately.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/kdy1/kdy1-scripts --skill static-analysis

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Static Analysis

Prompt

<Scope>에 대한 모든 코드를 정적 분석하고 모든 버그를 찾아 각각 $add-issue로 등록해. 이슈를 모으지 말고 확인되는 대로 바로바로 등록해. <Scope>는 사용자가 지정하며, 생략하면 코드 전체를 대상으로 해.

Scope and authorization

  • Resolve the target repository from the user's request or current checkout. Treat <Scope> as the user's analysis boundary, not a literal path. If omitted, analyze all code in that repository.
  • Read applicable repository instructions and map the code covered by the scope. Read related contracts, configuration, tests, and callers. Read outside the scope only as needed to establish behavior and causes for in-scope defects.
  • A direct human invocation of $static-analysis or an explicit request to run Static Analysis authorizes this analysis run and $add-issue handoffs for bugs found within its scope. Automatic skill selection alone does not authorize issue recording.
  • Preserve narrower user restrictions, including draft-only reporting. Creating, editing, planning, or testing this skill does not start analysis or issue recording.
  • Do not fix code, commit changes in the target repository, or mutate production. Use read-only analysis tools without autofix. Leave any required candidate verification to $add-issue under its own rules.

Analyze and record continuously

  1. Resolve and retain the investigation revision. Keep pre-existing uncommitted changes distinct from evidence about that revision.
  2. Analyze every code area in scope and track coverage. Follow control flow and data flow across relevant boundaries; do not treat a clean analyzer result as complete coverage. Distinguish confirmed defects from suspicions, style preferences, and feature requests.
  3. As soon as a bug has causal code evidence, invoke $add-issue for that individual candidate. Pass the original human request and restrictions, run identity and delegation chain when applicable, target repository, authorized scope, exact revision, trigger, expected and actual behavior, root cause, and source references. Pass supporting tests or logs when available and any unresolved evidence gaps.
  4. Let $add-issue own evidence validation, duplicate checks, issue content, metadata, delegation, recording, and verification. Follow its result; do not bypass an unconfirmed or failed outcome. Reference the skill by name and load it when invoking it; do not copy its workflow here.
  5. Do not wait for the full analysis, a final worker report, or a collected batch before handing off or recording a ready candidate. A queue is only for active serialization or explicit blockers. Continue independent analysis while a handoff is in progress when feasible.
  6. In Plan Mode or under draft-only restrictions, prepare each candidate's exact recording payload through $add-issue as it becomes ready, without GitHub writes. Retain payloads for an authorized continuation under that skill's mode-routing rules.
  7. Finish with the analyzed scope and revision, coverage and omissions, each candidate's outcome and verified issue URL when available, unresolved candidates, and blockers. Do not claim that finding no further defects proves the absence of bugs.
aus demselben Repository

Weitere Skills

Alle Skills
kdy1
Community

add-issue

Investigate explicitly requested work in the local environment by default, inspect relevant logs, repair confirmed regenerable local state, and create evidence-backed GitHub issues for confirmed Bugs or decision-complete Features and Tasks without implementing product changes. Start only on explicit human $add-issue invocation or an authorized candidate handoff from human-invoked MainQA, Static Analysis, or Collect Review; ordinary reports, ideas, and skill editing do not start this workflow.

Installationen
1
GitHub Stars
34
Aktualisiert
23. Okt.
kdy1
Community

fork-gungraun-optimize

Update or configure Gungraun measurement infrastructure on a personal fork's default branch on top of the latest upstream code, then validate optimization PR candidates with profiles and benchmarks from fork CI. Use for ForkGungraunOptimize requests or performance optimization based on a personal fork. Create each upstream PR only after human approval of that candidate.

Installationen
1
GitHub Stars
34
Aktualisiert
23. Okt.
kdy1
Community

manage-stacked-prs

Modify existing GitHub stacked PRs and restack and verify affected upper layers with gh stack. Apply when editing a PR in an existing stack or repairing its alignment. Preserve unrelated lower PRs; fix a lower layer only when its confirmed defect blocks the requested work. Stack creation and merging remain separate workflows.

Installationen
1
GitHub Stars
34
Aktualisiert
23. Okt.
kdy1
Community

write-blog-post

Collect the user's blog material, suggest topics to develop, and rephrase and reorder supplied content into a draft only on request. Use only when a human explicitly invokes $write-blog-post or names Write Blog Post; never select it automatically from a general blog-writing request.

Installationen
1
GitHub Stars
34
Aktualisiert
23. Okt.