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.

Install it, pinned
mdr add sorafujitani/skills/print-debug@git:20260902.f898023

Pins 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

The exact contents, by fingerprint
mdr add sorafujitani/skills/print-debug@sha256:2ddc5ce05a88fbd3

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ov3pxoi4wirn5mcg.svg)](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.

versioncommittedcommitsizeaudit
git:20260902.f898023 latest2026-09-02 f898023 7,960 BA view · diff
git:20260902.d9838bb2026-09-02 d9838bb 7,965 BA view · diff
git:20260508.f63bdbf2026-05-08 f63bdbf 8,317 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from sorafujitani/skills

AGENTS.md AGENTS.md file
sorafujitani/skills · AGENTS.md
git:20260830.be948ba · audit A · 8 stars
agent-efficiency-audit SKILL.md skill
sorafujitani/skills · agent-efficiency-audit/SKILL.md · Audit local agent session logs (Codex, Claude Code, Grok, pi) to find where the token budget actually went, then tell…
git:20260902.d9838bb · audit A · 8 stars
dry-coding SKILL.md skill
sorafujitani/skills · dry-coding/SKILL.md · PR〜エピック単位のシステム設計 + dry-coding。要件→多角的評価→設計ドキュメント。plan mode wrapper。必要な場合だけExplore/Plan subagentを使い、Schema…
git:20260902.d9838bb · audit A · 8 stars
exploratory-test SKILL.md skill
sorafujitani/skills · exploratory-test/SKILL.md · 探索的テストの自動実施。プロジェクトのインターフェース(CLI/API/Web API/GUI)を 自動判定し、テスト計画作成・テスト実装・実行・レポート生成までを包括的に実施する。
git:20260902.9b3b7bf · audit A · 8 stars
graph-think-map SKILL.md skill
sorafujitani/skills · graph-think-map/SKILL.md · 散文または半整理状態の思考をグラフ構造で整理し、論理的整合性・具体抽象のバランス・事実と仮説の分離を検証して、Mermaid 図と分析レポートとして返す。思考の構造化、論点・主張のマッピング(argument / concept…
git:20260902.d9838bb · audit A · 8 stars
guided-code SKILL.md skill
sorafujitani/skills · guided-code/SKILL.md · 明示的に `guided-code` を呼び出した場合のみ使用する。 ガイド付きコーディングモード。ユーザーが自分の手でコードを書きながら学べるようにサポートする。 AIはコードを直接書かず、何を・どこに書くべきかをガイドする。 フェーズ制…
git:20260902.d9838bb · audit A · 8 stars
handoff SKILL.md skill
sorafujitani/skills · handoff/SKILL.md · Use when pausing work, crossing a context boundary, waiting for an external event, resuming a prior session, or…
git:20260827.eaa4296 · audit A · 8 stars
issue-analysis SKILL.md skill
sorafujitani/skills · issue-analysis/SKILL.md · OSSのissue・バグレポート・機能提案を4フェーズで段階的に分析し、 TDDベースの実装計画を作成する。コード変更は行わず調査・分析・計画のみ。 必要に応じた独立調査→仮説-反証サイクル→証拠スコアリングにより、 確証バイアス・アンカリ…
git:20260902.d9838bb · audit A · 8 stars
karin-info SKILL.md skill
sorafujitani/skills · karin-info/SKILL.md · シンガーソングライター Karin.(ピリオド付き)のニュース・リリース・ライブ・プロフィールを Web Search と WebFetch で収集して整理する。Karin. に関する情報を求められたときに使う。
git:20260902.d9838bb · audit A · 8 stars
local-repo-finder SKILL.md skill
sorafujitani/skills · local-repo-finder/SKILL.md · Quickly detect Git repository paths in local environments. Use when referencing another repository or absorbing…
git:20260902.d9838bb · audit A · 8 stars
milestone-triage SKILL.md skill
sorafujitani/skills · milestone-triage/SKILL.md · Manage a personal triage-grouped wishlist ("やりたいこと") persisted at ~/.claude/data/milestone-triage/state.json. Use only…
git:20260902.d9838bb · audit A · 8 stars
pr-comment-plan SKILL.md skill
sorafujitani/skills · pr-comment-plan/SKILL.md · 明示的に `pr-comment-plan` を呼び出した場合のみ使用する。 GitHub PRのレビューコメント分析と改善計画の策定。 現在のブランチに関連するPRの未解決コメントを取得・分析し、 重要度分類(Critical/Impor…
git:20260902.d9838bb · audit A · 8 stars

Every file in sorafujitani/skills

Browse by kind, by grade A, or by owner.