core-claude#
Claude Code hooks and skills for development, published by ByteCode Solutions.
Documentation Contents#
Index:
What’s included#
Hooks#
``.env`` file protection: a
PreToolUsehook blocks anyRead,Grep, orBashtool call that targets a.envfile at runtime.Declarative deny rules: a
.claude/settings.jsonships with matchingpermissions.denyrules that enforce the same restrictions before any tool is invoked. Every project that installs this plugin must apply these rules to its own.claude/settings.json, the hook alone is not sufficient.``/develop`` suggestion: a
UserPromptSubmithook detects development-related prompts and injects a recommendation to use/developbefore Claude responds, a nudge, not a forced invocation.
Skills#
Create Python project: scaffold a new Python project from the ByteCode Solutions blueprint template via
/create-python-project [project-name].Run linters: run all linters and type checkers (
ty,ruff,mypy,pyright,pylint) on a Python package sequentially via/run-linters <package>. Stops on failure and asks the user whether to fix before continuing.Run tests: run the project test suite via
/run-tests. Usescore-tests/manager.pywhen available, falls back to pytest. Stops on failure, creates one task per failing test, and iterates through fixes one by one.Run coverage: run test coverage via
/run-coverage. Usescore-tests/manager.pywhen available, falls back topytest --cov. Reports total coverage % and any module below 100 %; offers to create one task per under-covered file to reach 100 %. On test failure delegates to/run-tests.Run security: run security checks via
/run-security <package>. Runsbanditfor static code analysis andpip-auditfor dependency CVE scanning, one at a time. Stops on findings and asks the user whether to fix before continuing.Develop: orchestrate a full development task via
/develop [task description]. Enforces TDD, SOLID, DRY, KISS, YAGNI, and LoD throughout. Enters plan mode, reads the codebase, divides the problem, generates Python interface stubs, and writesPLAN.md— stopping to ask the user whenever multiple design approaches are viable. Spawns one agent per component (parallel when independent, sequential when dependent), each following TDD with 100 % unit coverage and/run-linters. After all agents complete, writes integration tests, runs/run-linters,/run-security,/security-review, and/review; commits using Conventional Commits; generatesDIAGRAM.mdif multi-component; and optionally opens a PR.
Installation#
claude plugin marketplace add https://gitlab.com/bytecode-solutions/core/core-claude.git
claude plugin install core-claude
To update to the latest version:
claude plugin update core-claude@bytecode-solutions
To uninstall:
claude plugin uninstall core-claude@bytecode-solutions
After installing, add the declarative deny rules to each project’s
.claude/settings.json:
{
"permissions": {
"deny": [
"Read(**/.env*)",
"Grep(**/.env*)",
"Bash(cat */.env*)",
"Bash(cat .env*)"
]
}
}
Contributing#
Contributions are welcome! Please:
Fork the repository.
Create a feature branch.
Validate the plugin:
claude plugin validate .Submit a pull request.
License#
This project is licensed under the MIT License. See the LICENSE file for details.
Links#
Documentation: https://core-claude.readthedocs.io/en/latest/
Repository: bytecode-solutions/core/core-claude
Changelog: bytecode-solutions/core/core-claude/-/blob/master/CHANGELOG.md
Support#
For questions or support, please open an issue on GitLab or contact the maintainers.