agent-brain / workflows
CLAUDE.md119 starsChanged 6 months agoMITView on GitHub
This directory contains CI/CD workflows for Agent Brain. Use the /mastering-python-skill skill for Python CI/CD best practices. Invoke: /mastering-python-skill This skill is bound to the senior-python-engineer agent with pre-authorized tools (no approval fatigue). When creating or modifying GitHub Actions workflows, refer to these skill references: Before modifying workflows: - [ ] Test workflow locally with act if possible - [ ] Ensure secrets are not exposed - [ ] Use pinned action versions - [ ] Include proper job dependencies
In this repository6 other files it gives its agents.
- agent-brain-plugin/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- mastering-python-skillSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
When creating or modifying GitHub Actions workflows, refer to these skill references:
≈ “Common” is an estimate: at least 1 in 5 of the 28,633 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Workflows Guidelines for Claude Code
This directory contains CI/CD workflows for Agent Brain. Use the /mastering-python-skill skill for Python CI/CD best practices.
Required Skill
Invoke: /mastering-python-skill
This skill is bound to the senior-python-engineer agent with pre-authorized tools (no approval fatigue).
Specific References for CI/CD
When creating or modifying GitHub Actions workflows, refer to these skill references:
| Reference | Use For | Path |
| ci-cd-pipelines.md | GitHub Actions, workflow structure, matrix builds | .claude/skills/mastering-python-skill/references/production/ci-cd-pipelines.md |
| security.md | Secret management, dependency scanning, SAST | .claude/skills/mastering-python-skill/references/production/security.md |
| monitoring.md | Logging, metrics, observability in CI | .claude/skills/mastering-python-skill/references/production/monitoring.md |
When to Use Each Reference
ci-cd-pipelines.md
- Creating new workflow files
- Setting up matrix builds for Python versions
- Configuring test and lint jobs
- Publishing to PyPI
- Caching dependencies with Poetry/uv
security.md
- Managing secrets (API keys, tokens)
- Adding dependency vulnerability scanning
- Implementing security checks in CI
- OWASP dependency-check integration
monitoring.md
- Adding test coverage reporting
- Integrating with coverage services
- Setting up failure notifications
- Performance monitoring in CI
Current Workflows
| Workflow | Purpose |
pr-qa-gate.yml | Quality gate for pull requests (lint, type, test) |
publish-to-pypi.yml | Publish packages to PyPI on release |
Workflow Best Practices
# Cache Poetry dependencies
- name: Cache Poetry
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
# Matrix for Python versions
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']Quality Standards
Before modifying workflows:
- Test workflow locally with
actif possible - Ensure secrets are not exposed
- Use pinned action versions
- Include proper job dependencies
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

