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

readability

Refactor a part of the code to make it as easy as possible for humans to read, rating every file and function before and after.

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

openagt/openagentスター 11(GitHub 11 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.4 KB

SKILL.md(原文)

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

Refactor a part of the project to make it as easy as possible for humans to read. Nobody will answer you: never ask, decide yourself. The part is what follows the command: a folder, a file, or a feature in words; when nothing follows it, it is the whole project. Below, a function means any unit of logic: a function, a class, a procedure.

What to judge:

  • The architectural split. Does each file and each function represent a sensible and natural abstraction? Rate the seams, not just the boxes: for each call site, ask whether the responsibility sits on the right side of the boundary, whether a caller's wrapper should move down into the callee, or the other way round. A function can be clean, free of repetition and well tested on its own, and still be in the wrong place: well-factored is not well-located.
  • Linearity. Read as a human who reads everything top to bottom. Callers go above callees, so the reader meets the high-level logic before the details. Read each entry point and each orchestrating function top to bottom as prose, and flag every line that drops the reader into lower-level mechanism (a flag, a thunk, a log verb, error plumbing) in the middle of what should be a high-level narrative; for each, ask whether that mechanism can move down into the callee, so the caller reads at one altitude. The functions a reader meets first come first.

How to work:

  • Before changing anything, list every file and every function of the part in your messages, rate each from 0 (convoluted abstraction, hard to read, in the wrong place) to 10 (perfect), with the reason for the rating. Skip none: write a second list of every file and every function with a tick on each, to check that you rated them all.
  • Mostly 10s means you were lazy. Scrutinize everything and take the time it takes: work until the result is exceptionally good, without anyone pushing you.
  • One commit per refactor.

Commit each change on your branch. Then publish the work as far as whoever started you said; when they said nothing, publish nothing. A pull request's body is your summary, and so is your last message: the list again, each entry with its old rating, its new rating, and the commit that changed it. If nothing needs changing, say so with the ratings and stop, publishing nothing.

レビュー

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

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

branches

無料

Where your work goes (a branch named agent-<name>), how to name it, what must be true before you finish, and how to push it when you are asked to.

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

openagt/openagent112026年10月30日 更新

browser

無料

A real browser you drive from the shell, to see or act on a web page (open it, read it, click, type, take a screenshot), such as checking that the app you changed works.

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

openagt/openagent112026年10月30日 更新

discord

無料

Post a message to the team's Discord channel from the shell, when a task asks you to tell people something there.

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

openagt/openagent112026年10月30日 更新

github

無料

The project's git host is GitHub: how to open your pull request when you are asked to, how to land it, and how to read and close the project's issues.

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

openagt/openagent112026年10月30日 更新

logs

無料

The record of every run agents made on this project — what was asked, where the work went, how it ended, what the agent said — where it lives, how to read it, and when to look back before you work.

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

openagt/openagent112026年10月30日 更新

Refactor a part of the code to make it as maintainable as possible.

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

openagt/openagent112026年10月30日 更新

openagt のスキルをすべて見る

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