Commit Graph

4 Commits

Author SHA1 Message Date
Daniel Avila 0e06493dbe security: Harden CI/CD and repo for open-source safety (#458)
* enhance: Improve prompt-engineer agent (automated review)

- Fix broken reasoning framework: complete Ordering field and Necessity scale
- Remove OpenAI attribution from description; add invocation example block
- Restrict tools to Read only (text-transformation agent needs no writes)
- Add XML Structure and CoT Opportunity dimensions to reasoning template
- Move meta-instruction NOTE out of output template, place as agent directive
- Fix stray markdown bold markers on Reasoning Before Conclusions guideline
- Integrate orphaned examples bullet into the Examples guideline line
- Add concrete worked example section (classify customer feedback)

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>

* security: Harden CI/CD and repo for open-source safety

- Add --ignore-scripts to all npm ci/install in CI workflows and predeploy script
- Fix shell injection in discord-release-notification (use env vars + jq for payload)
- Add explicit permissions to all workflows (least privilege principle)
- Add root .npmrc with ignore-scripts=true
- Add .github/dependabot.yml for automated dependency security updates
- Add .github/CODEOWNERS to protect workflows, scripts, and API paths
- Expand .gitignore with *.pem, *.key, credentials.json patterns

* fix: Grant contents:read to deploy workflow so checkout works

Cubic correctly flagged that permissions: {} blocks actions/checkout.
2026-03-26 19:19:39 -04:00
Salman Chishti bc78aadb80 Upgrade GitHub Actions for Node 24 compatibility (#305) 2026-01-29 00:43:13 -05:00
Dani ee32f94540 refactor: optimize GitHub Actions workflows
- Remove Docusaurus deployment workflow (unused)
- Remove Vercel deployment workflow (handled separately)
- Update publish-package workflow to avoid conflicts with manual releases
  - No longer bumps version (uses existing version)
  - No longer creates commits, tags, or releases
  - Only publishes to GitHub Packages registry
  - Prevents duplicate releases when publishing manually to npm
2025-10-27 16:36:42 -04:00
Dani 9e665f343c feat: add GitHub Packages publishing workflow
- Add automated workflow to publish CLI package to GitHub Packages
- Configure package scoping with @davila7/claude-code-templates
- Include version bumping and automatic GitHub releases
- Add .npmrc for proper registry configuration
- Support both manual triggers and release-based publishing

Package will be available as:
npm install -g @davila7/claude-code-templates --registry=https://npm.pkg.github.com

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 11:13:17 -04:00