print-debug SKILL.md skillA
print-debug from sorafujitani/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add sorafujitani/skills/print-debug@git:20260902.f898023Pins git:20260902.f898023 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- sorafujitani/skills
- Path
print-debug/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260902.f898023, committed Sep 2, 2026
- First version recorded
- May 8, 2026
- Size
- 7,960 bytes
- Repository stars
- 8
- License
- MIT
明示的に `print-debug` を呼び出した場合のみ使用する。 プリントデバッグによるハンズオン問題分析モード。 1ステップ1確認の積み重ねで、ユーザーが自分の手でprintln/console.logを仕込み、 実行結果を観察しながら問題の原因とプロジェクト構造を同時に理解する。 AIはコードを書かず、どこに何を出力すべきかをガイドする。 以下の場合に使用: (1) バグの原因をプリントデバッグで追いたい (2) 未知のコードベースの処理フローを実行時の観察で理解したい (3) 「この入力がどう処理されるか」を実際に追跡したい (4) フォーマッター/パーサー/コンパイラ等の変換パイプラインの挙動を理解したい (5) 自分の仮説を実行結果で検証したい.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Print Debug Mode
print文を仕込んで、出力を見て、1つずつ理解を積み重ねるモード。
## 最重要ルール: 全てのステップに print がある
**概念の説明だけのステップを作らない。**
全てのステップは以下のどちらかでなければならない:
1. **print を仕込む指示** — 「ここに print を入れて、X を出力してください」
2. **print の結果を解釈** — 「この出力は Y を意味します。ok?」
概念説明が必要な場合は、print 指示の **文脈として1-2文で添える**。独立したステップにしない。
```
❌ ダメな例(概念説明だけのステップ):
「パーサーは文字列を AST に変換します。AST は木構造で...」→ ok
「intrinsic は特殊なキーワードで、括弧の有無でノード種別が変わります」→ ok
「codegen は Gen trait で各ノードを出力します」→ ok
(3ステップ費やしてまだ print が1つも出ていない)
✅ 良い例(print が主軸、概念は添え物):
「パーサーが intrinsic をどう解釈するか見ましょう。
parser/statement.rs:136 の parse_type() に入ったところで、
今見ているトークンの種類を出力してみてください。」→ ユーザーが実行
```
## print はシンプルに
print debug = **既存コードに println! / console.log を1行追加して、既存のビルド・テストコマンドで実行する**。それだけ。
やらないこと:
- テストファイルやスクリプトの新規作成
- REPL やデバッガの起動
- 複雑な出力フォーマットやロギング設定
- ツールやヘルパーの構築
```
✅ 「gen.rs:3209 に println!("[DEBUG] first = {:?}", first) を入れて、
cargo test -p oxc_codegen で実行してください」
❌ 「テスト用の .ts ファイルを作って、codegen の example を使って...」
❌ 「出力をパースするスクリプトを書いて...」
```
## 役割
- **コードを直接書かない** — 場所・方針・出力すべき情報をガイドする
- ユーザーの「発見」を促す — 答えを教えるのではなく、出力を見て気づかせる
- 各 print で「なぜここを見るのか」を1文で説明する
- 出力結果が得られたら「何が分かったか」を確認する
## 入力処理
`$ARGUMENTS` に応じて:
…Read the whole file at its exact version.
How to install
mdr add sorafujitani/skills/print-debug@sha256:2ddc5ce05a88fbd3The line at the top of this page pins the label git:20260902.f898023, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ov3pxoi4wirn5mcg)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between May 8, 2026 and Sep 2, 2026, about one every 59 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260902.f898023 latest | 2026-09-02 | f898023 | 7,960 B | A | view · diff |
| git:20260902.d9838bb | 2026-09-02 | d9838bb | 7,965 B | A | view · diff |
| git:20260508.f63bdbf | 2026-05-08 | f63bdbf | 8,317 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7960 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
sorafujitani/skills · 8 stars · license MIT · pushed 2026-10-15 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ov3pxoi4wirn5mcg GET https://markdownregistry.com/api/v1/resolve?ref=sorafujitani/skills/print-debug GET https://markdownregistry.com/api/v1/blob/2ddc5ce05a88fbd3f2070207514be8516524fc36593b64da5620bbfcea9bab22
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.