@localess/cli 3.0.0-dev.20260323211059 → 3.0.0-dev.20260323212026
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -253,6 +253,18 @@ const content = await client.getContentBySlug<Page>('home', { locale: 'en' });
|
|
|
253
253
|
|
|
254
254
|
This package ships a [`SKILL.md`](./SKILL.md) file that provides AI coding agents (GitHub Copilot, Claude Code, Cursor, and others) with accurate, up-to-date APIs, patterns, and best practices. Most agents automatically read `SKILL.md` when starting a session.
|
|
255
255
|
|
|
256
|
+
### Using SKILL.md in your project
|
|
257
|
+
|
|
258
|
+
`SKILL.md` is included in the npm package, so it is available locally after installation. Reference it from your project's `AGENTS.md` to ensure your agent reads accurate Localess documentation every session:
|
|
259
|
+
|
|
260
|
+
```markdown
|
|
261
|
+
## Localess
|
|
262
|
+
|
|
263
|
+
@node_modules/@localess/cli/SKILL.md
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
The `@` prefix is the syntax used by most agent tools (GitHub Copilot, Claude Code, Cursor) to import file contents inline into the agent context.
|
|
267
|
+
|
|
256
268
|
When you change the public API of this package, update `SKILL.md` alongside your code:
|
|
257
269
|
|
|
258
270
|
- **New option or parameter** → add it to the relevant options table and usage example
|