Skip to content

Commit 89cbc42

Browse files
authored
code syntax
1 parent 359d155 commit 89cbc42

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • src/collections/blog/2025/10-09-2025-agents-instructions

src/collections/blog/2025/10-09-2025-agents-instructions/post.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ A symbolic link (symlink) is a pointer to another file. You can create symlinks
157157

158158
Open your terminal in the project root and run these commands for the tools you use:
159159

160-
```shell
160+
<pre><code class="language-shell">
161161
# For Claude Code
162162
ln -s AGENTS.md CLAUDE.md
163163

@@ -168,21 +168,21 @@ ln -s ../../AGENTS.md .cursor/rules/rules.mdc
168168
# For GitHub Copilot
169169
mkdir -p .github
170170
ln -s ../AGENTS.md .github/copilot-instructions.md
171-
```
171+
</code></pre>
172172

173173
Your tools continue to work as expected, but now they all draw their context from a single source.
174174

175175
#### Method 2: Using Imports
176176

177177
Some agents support importing one markdown file into another. For example, in Claude Code's CLAUDE.md file, you can simply add a line to import your universal file:
178178

179-
```shell
179+
<pre><code>
180180
\# In ./CLAUDE.md
181181

182182
@AGENTS.md
183183

184184
# You can add Claude-specific instructions below if needed
185-
```
185+
</code></pre>
186186

187187
This approach keeps your setup clean and ensures AGENTS.md remains the primary source of truth.
188188

0 commit comments

Comments
 (0)