@fmlima4/copilot-library
v0.1.0
Published
Reusable Copilot prompt assets, skills, templates, and AI engineering guidelines.
Downloads
154
Maintainers
Readme
Copilot Library
Reusable prompt assets for GitHub Copilot and related AI workflows. This repository is structured as an npm package so you can version, publish, install, and sync the same guidance across multiple projects.
Repository layout
copilot-library/
├── agents/
├── architecture-rules/
├── backend/
├── code-review/
├── frontend/
├── mcps/
├── pr-templates/
├── security/
├── skills/
├── stack-guidelines/
├── bin/
└── src/Install
npm install @your-scope/copilot-libraryUse as a library
import { copyLibrary, getAssetPath, getAssetDirectories } from '@your-scope/copilot-library';
console.log(getAssetDirectories());
console.log(getAssetPath('skills'));
await copyLibrary('.github/copilot');Use the CLI
Copy the full library into a consuming repository:
npx @your-scope/copilot-library .github/copilotCopy only selected sections:
npx @your-scope/copilot-library .github/copilot skills architecture-rules securityPublish to GitHub
git init
git add .
git commit -m "Initial copilot library"
gh repo create copilot-library --source=. --public --pushPublish to npm
- Replace
@your-scope/copilot-libraryin package.json with your real npm scope or package name. - Run
npm login. - Run
npm run check. - Run
npm publish --access public.
Suggested consumer layout
Keep library content synced into project-local guidance such as .github/copilot, .copilot, or your own internal prompt directory.
