Notre avis
Crée un nouveau package dans le monorepo Topographic Studio avec toute la configuration nécessaire (package.json, TypeScript, tsup, etc.).
Points forts
- Automatise la création des fichiers de configuration
- Assure la cohérence avec le monorepo
- Intègre les scripts de build et de lint
- Configure les exports et les dépendances
Limites
- Spécifique à la structure du monorepo Topographic Studio
- Nécessite Bun et tsup comme outils de build
- Peut nécessiter des ajustements manuels pour des cas particuliers
Lorsque vous devez ajouter un nouveau package (bibliothèque, composants UI, types, etc.) dans le monorepo.
Si votre code n'a pas besoin d'une étape de build ou si vous travaillez en dehors de ce monorepo.
Analyse de sécurité
SûrThe skill creates a new package in a monorepo with Bun, involving standard package installation and build commands. There are no destructive, exfiltrating, or obfuscated actions; the user controls all inputs.
Aucun point d'attention détecté
Exemples
Create a new package called 'hooks' for React custom hooks in the Topographic Studio monorepo.Scaffold a UI component package named 'buttons' with React and TypeScript dependencies.Generate a new utility package called 'validation' with a description 'Shared validation utilities' and no external dependencies.New Package Skill
Create a new package in the Topographic Studio monorepo.
Task
You are helping the user scaffold a new package in the monorepo with all necessary configuration.
Instructions
-
Gather information from the user:
- Package name (e.g., "hooks", "animations", "api-client")
- Package description
- Package type (library, UI components, utilities, types, config)
- Dependencies needed
-
Create package structure:
packages/{name}/ ├── package.json ├── tsconfig.json ├── tsup.config.ts (if applicable) ├── README.md └── src/ └── index.ts -
Configure package.json:
- Name:
@topographic-studio/{name} - Version:
0.0.1 - Exports configuration
- Build scripts
- Repository info
- Name:
-
Add TypeScript config:
- Extend root tsconfig
- Configure paths
-
Create initial source file:
- Basic export structure
- Example implementation
-
Update root package.json:
- Ensure workspace includes the new package
-
Install dependencies:
bun install -
Verify setup:
bun run build --filter=@topographic-studio/{name}
Package.json Template
{
"name": "@topographic-studio/{name}",
"version": "0.0.1",
"description": "{description}",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": ["dist"],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"typecheck": "tsc --noEmit"
},
"keywords": [],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/leobrival/core.git",
"directory": "packages/{name}"
},
"devDependencies": {
"tsup": "^8.3.5",
"typescript": "^5.7.2"
}
}
Success Criteria
- Package builds successfully
- TypeScript types are correct
- Can be imported from other packages
- Documentation is complete
Output Format
Created new package: @topographic-studio/{name}
Location: packages/{name}/
Files created:
✅ package.json
✅ tsconfig.json
✅ tsup.config.ts
✅ README.md
✅ src/index.ts
Next steps:
1. Implement your package logic in src/
2. Add dependencies if needed: bun add -D package-name
3. Build: bun run build --filter=@topographic-studio/{name}
4. Use in other packages: import from "@topographic-studio/{name}"
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.