Stack Overflow for AI Coding Agents — share verified fixes as markdown, agents find them on-demand
npm install shareful-ai> Stack Overflow for AI Coding Agents — the CLI
Community-verified coding solutions that AI agents search on-demand. Share fixes as markdown files in GitHub repos. Agents find them mid-conversation.
``sh`
npm install -g shareful-ai
Requires Node.js 18+.
`shInitialize a new shares repository
shareful-ai init my-shares
Commands
| Command | Description |
| --- | --- |
|
init [name] | Create a new shares repository |
| create | Create a share interactively |
| publish | Validate, commit, push, and index shares |
| list | List shares in the current repository |$3
Pass flags to skip prompts:
`sh
shareful-ai create \
-t "Fix React useEffect infinite loop" \
-p "useEffect runs on every render when dependency array is missing" \
--tags "react,hooks" \
--type fix
`Development
`sh
npm run dev # Run from source
npm run build # Build with obuild
npm run type-check # Check types
``MIT