Skip to content

Commit 2e3ef08

Browse files
committed
Update skill
1 parent 57e7a30 commit 2e3ef08

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.agents/skills/add-package/SKILL.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,8 @@ npm i remix <peer-dependency>
159159
- `packages/remix` is generated automatically in CI.
160160
- Do not hand-edit `packages/remix/package.json` or `packages/remix/src/*`; run the generator when generated output is required.
161161
- **When adding a new package**, add it to `packages/remix/manifest.json` before running the generator:
162-
- Add one entry per export: `"remix/<canonical-path>": "@remix-run/<package-name>"`.
163-
- For sub-exports (e.g. `./foo`), add `"remix/<canonical-path>/foo": "@remix-run/<package-name>/foo"`.
164-
- Place entries before the `_comment` separator line (canonical entries come first).
162+
- Add one entry per export: `"remix/<canonical-path>": "@remix-run/<package-name>"`,`"remix/<canonical-path>/foo": "@remix-run/<package-name>/foo"`.
165163
- Choose a domain-oriented canonical path (e.g. `remix/middleware/logger`, not `remix/logger-middleware`).
166-
- Then run: `node --experimental-strip-types scripts/generate-remix.ts`
167-
- The manifest test (`pnpm --filter remix run test`) will fail if any package export is missing.
168164
- If user asks for full surfacing, you can still update root `README.md` package list when applicable.
169165

170166
9. Validate before finishing.

0 commit comments

Comments
 (0)