<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>swx-shingo-hashimoto</author_name>
  <author_url>https://blog.hatena.ne.jp/swx-shingo-hashimoto/</author_url>
  <blog_title>サーバーワークスエンジニアブログ</blog_title>
  <blog_url>https://blog.serverworks.co.jp/</blog_url>
  <categories>
    <anon>Claude</anon>
    <anon>Claude入門</anon>
    <anon>初心者向け</anon>
  </categories>
  <description>はじめに 「Claudeにコードを書いてもらったけど、なんか微妙にズレてる……」 そんな経験をしたことはないでしょうか。指示した通りのコードは書いてくれるのに、プロジェクトのスタイルと合わなかったり、使っているライブラリのバージョンと噛み合わなかったり。 実はこれ、Claudeの能力の問題ではなく、Claudeに渡す情報の問題であることがほとんどです。 Claudeがコードを生成するときに何を参考にしているかを理解すると、自然と「伝えるべきこと」が見えてきます。この記事ではその仕組みと、すぐに使えるプロンプトのコツを紹介します。 Claudeがコードを書くときに参照しているもの 1. 学習済み…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.serverworks.co.jp%2Fstudy-claude-202605&quot; title=&quot;Claudeがコードを書くときに何を参考にしているか知ると、プロンプトが変わる - サーバーワークスエンジニアブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/swx-shingo-hashimoto/20260522/20260522144347.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-06-02 10:49:02</published>
  <title>Claudeがコードを書くときに何を参考にしているか知ると、プロンプトが変わる</title>
  <type>rich</type>
  <url>https://blog.serverworks.co.jp/study-claude-202605</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
