Skip to content

Conversation

@grypez
Copy link
Contributor

@grypez grypez commented Jan 13, 2026

Shows claude how to create a new package in the monorepo.


Note

Introduces a new agent skill for creating monorepo packages and enables it in permissions.

  • Adds create-package skill docs at .claude/skills/create-package/SKILL.md detailing yarn create-package usage, required args (--name, --description), example, and post-creation steps (coverage thresholds, dependencies, TS references)
  • Updates .claude/settings.json to include Skill(create-package) in the permissions.allow list

Written by Cursor Bugbot for commit d269097. This will update automatically on new commits. Configure here.

@grypez grypez changed the base branch from main to grypez/refactor-kernel-agents-repl January 13, 2026 20:47
Copy link
Contributor Author

@grypez grypez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude used this skill without prompting to create a package for a refactor PR, but did not update the coverage thresholds or remind the user to do so.


1. Ask the user for the package name and description if not provided
2. Run `yarn create-package --name <package-name> --description "<description>"`
3. After successful creation, remind the user to:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3. After successful creation, remind the user to:
3. After successful creation:

1. **Add coverage thresholds** to root `vitest.config.ts`:

- The CLI cannot modify .ts config files automatically
- Add appropriate coverage thresholds for the new package
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Add appropriate coverage thresholds for the new package
- Add appropriate coverage thresholds for the new package
- Every threshold for the new package can be set to 0 initially; these will be updated by monorepo level `yarn test` commands


## Post-Creation Steps

Always remind the user of these manual steps after package creation:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Always remind the user of these manual steps after package creation:
Always perform these manual steps after package creation:

@grypez grypez marked this pull request as ready for review January 14, 2026 13:17
@grypez grypez requested a review from a team as a code owner January 14, 2026 13:18
@grypez grypez force-pushed the grypez/refactor-kernel-agents-repl branch from b9ace55 to 25aa787 Compare January 14, 2026 17:16
Base automatically changed from grypez/refactor-kernel-agents-repl to main January 14, 2026 17:23
@rekmarks
Copy link
Member

@grypez this ought to drop the unrelated commits.

@grypez grypez force-pushed the grypez/add-skill-create-package branch from b817127 to d269097 Compare January 15, 2026 17:18
@grypez grypez enabled auto-merge January 15, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants