> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# メモリー、カスタムインストラクション、スキル

> メモリー、カスタムインストラクション、スキルのどれを使えば、適切なコンテキストとガイダンスで Replit を動かせるかを理解しましょう。

export const SkillsCardVisual = () => <CardScene>
    <Panel style={{
  width: 120,
  height: 86,
  padding: 12
}}>
      <div style={{
  display: "grid",
  gridTemplateColumns: "1fr 1fr",
  gap: 7
}}>
        {Array.from({
  length: 4
}, (_, index) => <i key={index} style={{
  height: 24,
  border: "1px solid rgba(255,255,255,.4)",
  borderRadius: 6,
  background: index === 0 ? "rgba(255,255,255,.62)" : "rgba(255,255,255,.18)"
}} />)}
      </div>
    </Panel>
  </CardScene>;

export const MemoriesCardVisual = () => <CardScene>
    <Panel style={{
  width: 116,
  height: 88,
  padding: 13
}}>
      <div style={{
  display: "flex",
  alignItems: "center",
  gap: 9
}}>
        <i style={{
  width: 25,
  height: 25,
  borderRadius: 9,
  background: "rgba(255,255,255,.56)"
}} />
        <i style={{
  width: "52%",
  height: 6,
  borderRadius: 99,
  background: "rgba(255,255,255,.72)"
}} />
      </div>
      {["88%", "62%", "76%"].map(width => <i key={width} style={{
  display: "block",
  width,
  height: 5,
  marginTop: 9,
  borderRadius: 99,
  background: "rgba(255,255,255,.44)"
}} />)}
    </Panel>
  </CardScene>;

export const CustomInstructionsCardVisual = () => <CardScene>
    <Panel style={{
  width: 116,
  height: 88,
  padding: 13
}}>
      <div style={{
  display: "flex",
  justifyContent: "space-between",
  alignItems: "center"
}}>
        <i style={{
  width: 34,
  height: 6,
  borderRadius: 99,
  background: "rgba(255,255,255,.78)"
}} />
        <i style={{
  width: 26,
  height: 15,
  border: "1px solid rgba(255,255,255,.58)",
  borderRadius: 99,
  background: "rgba(255,255,255,.15)"
}} />
      </div>
      {["100%", "74%", "84%"].map(width => <i key={width} style={{
  display: "block",
  width,
  height: 5,
  marginTop: 11,
  borderRadius: 99,
  background: "rgba(255,255,255,.44)"
}} />)}
    </Panel>
  </CardScene>;

export const GuidanceComparisonCover = () => <FrostedCover label="Three connected building blocks representing Memories, Custom Instructions, and Skills">
    <div style={{
  display: "flex",
  alignItems: "center",
  justifyContent: "center",
  gap: "clamp(7px, 2vw, 20px)",
  width: "min(86%, 650px)"
}}>
      {[{
  shape: 999,
  height: "clamp(104px, 18vw, 148px)",
  strong: 0
}, {
  shape: 17,
  height: "clamp(126px, 21vw, 176px)",
  strong: 1
}, {
  shape: 10,
  height: "clamp(104px, 18vw, 148px)",
  strong: 2
}].map((block, index) => <div key={index} style={{
  position: "relative",
  display: "grid",
  flex: "1 1 0",
  minWidth: 0,
  height: block.height,
  alignContent: "center",
  gap: "clamp(8px, 1.6vw, 13px)",
  padding: "clamp(10px, 2vw, 17px)",
  border: "1px solid rgba(255,255,255,.6)",
  borderRadius: block.shape,
  background: index === 1 ? "linear-gradient(145deg, rgba(255,255,255,.45), rgba(255,255,255,.14))" : "linear-gradient(145deg, rgba(255,255,255,.3), rgba(255,255,255,.1))",
  boxShadow: "0 16px 32px rgba(62,20,6,.18)",
  backdropFilter: "blur(7px)",
  boxSizing: "border-box"
}}>
          <span style={{
  width: "62%",
  height: index === 1 ? 9 : 7,
  justifySelf: "center",
  borderRadius: 999,
  background: block.strong === 1 ? "rgba(255,255,255,.82)" : "rgba(255,255,255,.58)"
}} />
          <span style={{
  width: "78%",
  height: 5,
  justifySelf: "center",
  borderRadius: 999,
  background: "rgba(255,255,255,.32)"
}} />
          <span style={{
  width: "48%",
  height: 5,
  justifySelf: "center",
  borderRadius: 999,
  background: "rgba(255,255,255,.22)"
}} />
        </div>)}
    </div>
  </FrostedCover>;

<GuidanceComparisonCover />

メモリー、カスタムインストラクション、スキルはそれぞれ、Replit がより良いコンテキストで作業できるよう助けます。その情報が長く有効なルールなのか、繰り返し使える手順なのか、それとも過去の作業から得られた有用なコンテキストなのかによって、使い分けましょう。

|                   | 誰が管理するか               | Replit がいつ使うか    | 最適な用途                       |
| ----------------- | --------------------- | ---------------- | --------------------------- |
| **カスタムインストラクション** | あなた、またはチーム            | 常に、セッションをまたいで    | 一貫して適用したい安定した好みやルール         |
| **スキル**           | あなた、またはチーム            | 特定のタスクに関係するとき    | 繰り返し使える手順、ワークフロー、補助資料       |
| **メモリー**          | Replit が、あなたの監督のもとで作成 | 関連するコンテキストが役立つとき | 過去の作業から得た有用な好みを繰り返し伝えずに済ませる |

## 適切なツールを選ぶ

* 承認済みライブラリやデータ取り扱いの要件など、ワークスペース全体で常に成り立つべきルールには**カスタムインストラクション**を使います。あなたが書き、Replit がそれを変更することはありません。
* リリースの準備やデザインのレビューなど、特定の種類の作業に対する再利用可能なアプローチには**スキル**を使います。安定した手順的な知識はスキルに置くのが適切です。
* 過去の作業から Replit が有用なコンテキストを保持できる場合には**メモリー**を使い、関連する好みを繰り返し伝える必要をなくします。Replit は作業中にメモリーを書き込めますが、これらは実行可能な指示ではなく、文脈的な参考情報です。

あなたの明示的な依頼とカスタムインストラクションは、メモリーよりも優先されます。メモリーは**設定 → カスタマイズ → メモリー**で管理します。メモリーは個人情報や機微な情報を保持せず、デフォルトでは非公開です。共同作業者との共有は任意で、デフォルトではオフになっています。

## それぞれの選択肢を確認する

<section className="chat-mkt chat-workflow-grid has-visuals">
  <a className="chat-example has-visual" href="/ja/chat/memories">
    <MemoriesCardVisual />

    <span>
      <Icon icon="brain" size={19} />
    </span>

    <div className="chat-card-title">メモリー</div>
    <p>Replit が何を保持できるか、そしてその管理方法を確認します。</p>
    <div className="chat-card-link">メモリーを見る →</div>
  </a>

  <a className="chat-example has-visual" href="/ja/chat/custom-instructions">
    <CustomInstructionsCardVisual />

    <span>
      <Icon icon="sliders" size={19} />
    </span>

    <div className="chat-card-title">カスタムインストラクション</div>
    <p>Replit に一貫して適用してほしいガイダンスを設定します。</p>
    <div className="chat-card-link">カスタムインストラクションを見る →</div>
  </a>

  <a className="chat-example has-visual" href="/ja/chat/agent-skills">
    <SkillsCardVisual />

    <span>
      <Icon icon="puzzle-piece" size={19} />
    </span>

    <div className="chat-card-title">スキルを使う</div>
    <p>繰り返し発生する作業向けに再利用可能なアプローチを設定します。</p>
    <div className="chat-card-link">スキルを見る →</div>
  </a>
</section>

ガイダンスやコンテキストを提供するのではなく、Replit を対応する外部ツールに接続する必要があるときは[MCP](/ja/chat/connect-through-mcp)を使いましょう。
