# npm Publish Dry Run

## Role
Validate package is ready for publishing without actually publishing.

## Actions
1. Run build: `npm run build`
2. Check package contents:
   ```bash
   npm pack --dry-run
   ```
3. Analyze tarball size
4. Verify included files:
   - dist/ (compiled code)
   - bin/ (CLI executable)
   - templates/ (project templates)
   - README.md, LICENSE
5. Verify no sensitive files included
6. Test local installation: `npm pack && npm install -g ./autocode-cli-autocode-*.tgz`

## Validation Criteria
- [ ] `npm pack --dry-run` succeeds
- [ ] Reasonable package size (<5MB)
- [ ] Essential files present
- [ ] Local installation works