bundles-forge
AGENTS.md229 starsChanged 7 months agoApache-2.0View on GitHub
Generated: 2026-04-17 Commit: 8c2e762 Branch: main Bundle-plugin engineering toolkit (Python 3.9+, Node.js packaging). 8 skills in hub-and-spoke architecture: 3 orchestrators dispatch 4 executors. Supports 6 platforms. Dogfoods its own patterns.
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- auditingSkill
- authoringSkill
- blueprintingSkill
- optimizingSkill
- releasingSkill
- scaffoldingSkill
- testingSkill
- using-bundles-forgeSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 46
Descriptions: start "Use when...", triggering conditions only, <250 chars.
- Very specific: line 50
New scripts: import _cli.py for BundlesForgeError, make_parser(), exit_by_severity()
- Very specific: line 51
Version bumps: never manual — bundles-forge bump-version <ver> updates all manifests in .version-bump.json
- Very specific: line 56
NEVER: add eval(), child_process, network calls (curl/wget) in hook scripts or plugin code
- Very specific: line 60
DO NOT: use as any, @ts-ignore — not applicable here (Python-only codebase), but equivalent: no bare except: or silenced errors
- Distinctive: line 61
DO NOT: write tests that delete fixtures to "pass"
- Distinctive: line 67
Inline fallback: when subagents unavailable, skills read agent files inline rather than re-implementing logic
- Very specific: line 70
Bilingual docs: every docs/*.md has docs/*.zh.md — D7-D9 validates consistency
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.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
PROJECT KNOWLEDGE BASE
Generated: 2026-04-17 Commit: 8c2e762 Branch: main
OVERVIEW
Bundle-plugin engineering toolkit (Python 3.9+, Node.js packaging). 8 skills in hub-and-spoke architecture: 3 orchestrators dispatch 4 executors. Supports 6 platforms. Dogfoods its own patterns.
STRUCTURE
bundles-forge/
├── bin/ # CLI dispatcher → routes subcommands to skills/*/scripts/
├── skills/ # 8 skills, each with SKILL.md + optional references/
│ ├── auditing/ # scripts/ (7 Python scripts), references/ (11 files)
│ └── scaffolding/ # assets/ (6 platform templates + root/hooks/scripts)
├── agents/ # 3 read-only subagents: inspector, auditor, evaluator
├── hooks/ # session-start (Bash) + run-hook.cmd (polyglot) + openclaw-bootstrap/
├── docs/ # 10 guide pairs (EN + .zh.md), checked by audit-docs D7-D9
├── tests/ # 6 suites via run_all.py; fixtures/ + prompts/ per skill
├── examples/ # Worked audit report examples
├── .github/workflows/ # validate-plugin.yml (Python 3.9+3.12 matrix)
└── package.json # v1.7.8 — version synced via .version-bump.jsonWHERE TO LOOK
| Task | Location | Notes |
| Add audit check | skills/auditing/references/audit-checks.json | Registry of all S1-PC7 checks; scripts read this |
| Fix audit script | skills/auditing/scripts/ | Shared _cli.py for argparse/exit codes; _graph.py for workflow DAG |
| Add platform support | skills/scaffolding/assets/platforms/<name>/ | Template files per platform (plugin.json, hooks.json, AGENTS.md, etc.) |
| Version management | skills/releasing/scripts/bump_version.py | Driven by .version-bump.json; never edit versions manually |
| Session bootstrap | hooks/session-start + hooks/run-hook.cmd | 3-way platform detection (CURSOR_PLUGIN_ROOT, CLAUDE_PLUGIN_ROOT, COPILOT_CLI/fallback) |
| Security patterns | skills/auditing/references/security-checklist.md | 7 surfaces: skill content, hook scripts, HTTP hooks, OpenCode, agents, bundled scripts, MCP |
| Test a skill | tests/prompts/<skill-name>.yml | YAML prompt samples for should-trigger/should-not-trigger |
| Add a test fixture | tests/fixtures/<scenario>/ | Simulate plugin states (artifact-mismatch, circular-deps, etc.) |
| Documentation sync | docs/*.md ↔ docs/*.zh.md | Every guide has a Chinese translation; D7-D9 checks consistency |
| CLI subcommand | bin/bundles-forge | Dispatcher; add new subcommand to COMMANDS dict |
CONVENTIONS
- Skill naming: kebab-case; dir name = frontmatter
namefield - Descriptions: start "Use when...", triggering conditions only, <250 chars; frontmatter <1024 chars
- Heavy content: extract to
references/(threshold: 100+ lines) - Cross-references:
bundles-forge:<skill-name>format - Source of truth hierarchy: SKILL.md > agent files > docs/ > README — see
skills/auditing/references/source-of-truth-policy.md - New scripts: import
_cli.pyforBundlesForgeError,make_parser(),exit_by_severity() - Version bumps: never manual —
bundles-forge bump-version <ver>updates all manifests in.version-bump.json
ANTI-PATTERNS (THIS PROJECT)
- NEVER edit version strings manually across manifests — always use
bump_version.py - NEVER add
eval(),child_process, network calls (curl/wget) in hook scripts or plugin code - NEVER reference
.env,.ssh/, credentials in SKILL.md instructions - NEVER skip
bundles-forge bump-version --checkandchecklists --checkbefore committing - NEVER release without running
bundles-forge:auditing+bundles-forge audit-docs - DO NOT use
as any,@ts-ignore— not applicable here (Python-only codebase), but equivalent: no bareexcept:or silenced errors - DO NOT write tests that delete fixtures to "pass"
UNIQUE STYLES
- Hub-and-spoke skill model: orchestrators (
blueprinting,optimizing,releasing) dispatch executors (scaffolding,authoring,auditing,testing); never the reverse - Skill-agent boundary: skills handle orchestration (scope detection, dispatch); agents handle execution (checks, scoring). No duplication — agent file is single source of truth for execution details
- Inline fallback: when subagents unavailable, skills read agent files inline rather than re-implementing logic
- 10-category audit: structure, manifests, version sync, skill quality, cross-refs, workflow, hooks, testing, docs, security — all from
audit-checks.json - 3-layer workflow audit: static (DAG), semantic (Inputs/Outputs/Integration), behavioral (evaluator agent)
- Bilingual docs: every
docs/*.mdhasdocs/*.zh.md— D7-D9 validates consistency
COMMANDS
# Quality & Security
bundles-forge audit-skill . # skill quality (4 categories)
bundles-forge audit-security . # 7-surface security scan
bundles-forge audit-plugin . # combined (10 categories)
bundles-forge audit-workflow . # W1-W11 workflow integrity
bundles-forge audit-docs . # D1-D9 documentation consistency
bundles-forge checklists --check . # detect checklist drift
# Version Management
bundles-forge bump-version --check # detect version drift
bundles-forge bump-version --audit # find undeclared version strings
bundles-forge bump-version <new-version> # bump all manifests
# Testing
python tests/run_all.py # all 6 suites
python -m pytest tests/test_scripts.py -v # single suiteNOTES
.repos/contains cloned reference repositories — not part of the plugin, exclude from auditsskills/scaffolding/assets/is a template directory — files here are copied to new projects, not used directly- CI matrix: Python 3.9 + 3.12 on ubuntu-latest; 3.12 on windows-latest
- Exit codes: 0 = pass, 1 = warnings, 2 = critical (audit scripts)
- The
using-bundles-forgemeta-skill is loaded via session-start hook, not by user request
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.

