agent-tech-stack-guidance
v1.1.1
Published
CLI tool to easily add agent guidance documentation to your project
Downloads
175
Maintainers
Readme
Agent Tech Stack Guidance CLI
A command-line tool designed to help developers and agents easily add "guidance" documentation to their projects. This tool bundles a collection of best-practice guides for various technologies (Vercel, Supabase, etc.) and allows you to inject them into your project's .agent_guidance directory.
Features
- Init: Sets up a
.agent_guidancedirectory with a manifest of available guides. - Add: specific guides to your project with a single command.
- Search: Supports prefix matching (e.g.,
add verfindsvercel). - Language Support: Specify your preferred language (defaults to English, falls back to English if the requested language isn't available).
Usage
You can use this tool directly with npx or install it globally.
Using npx (Recommended)
Initialize your project:
npx agent-tech-stack-guidance initThis creates a .agent_guidance folder and a guidance_list.md file.
Add a guide:
npx agent-tech-stack-guidance add vercelAdd a guide in a specific language:
npx agent-tech-stack-guidance add supabase --lang zhGlobal Installation
npm install -g agent-tech-stack-guidanceThen run:
agent-guidance init
agent-guidance add vercelContributing
We welcome contributions! Whether you want to add a new guide, improve an existing one, or enhance the CLI tool itself.
Adding a New Guide
- Fork the repository.
- Create your guide:
- Navigate to
.agent/<lang>/(e.g.,.agent/en/). - Create a markdown file named
<tech>_guide_<lang>.md(e.g.,mytech_guide_en.md). - Ensure the content provides clear, agent-friendly instructions.
- Navigate to
- Test locally:
- Run
npm linkin the root of your forked repo. - Create a temporary folder elsewhere and run
agent-guidance add mytech. - Verify the file is copied correctly.
- Run
- Submit a Pull Request.
Updating the CLI Logic
- Clone the repo.
- Install dependencies:
npm install. - Make your changes in
lib/orbin/. - Test your changes locally.
Publishing (For Maintainers)
If you are a maintainer, here is how to publish a new version to npm after merging PRs:
- Pull the latest changes:
git pull origin main. - Update Version:
npm version patch # or minor/major - Publish:
npm publish - Push tags:
git push --follow-tags
License
MIT
