Initial commit
This commit is contained in:
12
.claude-plugin/plugin.json
Normal file
12
.claude-plugin/plugin.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "husky",
|
||||
"description": "Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message standards, integrating with linting tools, and ensuring code quality on commits.",
|
||||
"version": "1.0.0",
|
||||
"author": {
|
||||
"name": "evmts",
|
||||
"url": "https://github.com/evmts"
|
||||
},
|
||||
"commands": [
|
||||
"./commands"
|
||||
]
|
||||
}
|
||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# husky
|
||||
|
||||
Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message standards, integrating with linting tools, and ensuring code quality on commits.
|
||||
40
commands/husky.md
Normal file
40
commands/husky.md
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
description: Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message standards, integrating with linting tools, and ensuring code quality on commits.
|
||||
author: evmts
|
||||
author-url: https://github.com/evmts
|
||||
version: 1.0.0
|
||||
---
|
||||
|
||||
# Repository Health Verification Protocol
|
||||
|
||||
This command outlines a comprehensive protocol for verifying and maintaining a repository's health.
|
||||
|
||||
## Key Goals
|
||||
- Verify repo is in a working state
|
||||
- Run CI checks
|
||||
- Fix any identified issues
|
||||
- Prepare files for staging
|
||||
|
||||
## Main Steps
|
||||
1. Update dependencies with `pnpm i`
|
||||
2. Run linter checks
|
||||
3. Verify builds and types
|
||||
4. Run test coverage
|
||||
5. Sort package.json
|
||||
6. Lint packages
|
||||
7. Double-check all previous steps
|
||||
8. Stage files (avoiding git submodules)
|
||||
|
||||
## Error Handling Protocol
|
||||
1. Explain why something broke
|
||||
2. Propose and implement a fix
|
||||
3. Check for similar issues elsewhere
|
||||
4. Clean up debugging code
|
||||
|
||||
## Important Guidelines
|
||||
- Never commit, only stage files
|
||||
- Run tests package-by-package
|
||||
- Be willing to make necessary fixes
|
||||
- Use typescript and tests as safeguards
|
||||
|
||||
The document emphasizes a methodical approach to maintaining code quality and resolving issues systematically.
|
||||
45
plugin.lock.json
Normal file
45
plugin.lock.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "internal://schemas/plugin.lock.v1.json",
|
||||
"pluginId": "gh:ccplugins/awesome-claude-code-plugins:plugins/husky",
|
||||
"normalized": {
|
||||
"repo": null,
|
||||
"ref": "refs/tags/v20251128.0",
|
||||
"commit": "967bc3b57347deb28f7645063ec4badc9e77ba22",
|
||||
"treeHash": "8287d3cba6cae0cdcb513c46bb95355cabd8af7e7208d5e1b6a420ad7e15c2da",
|
||||
"generatedAt": "2025-11-28T10:14:38.182908Z",
|
||||
"toolVersion": "publish_plugins.py@0.2.0"
|
||||
},
|
||||
"origin": {
|
||||
"remote": "git@github.com:zhongweili/42plugin-data.git",
|
||||
"branch": "master",
|
||||
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
|
||||
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
|
||||
},
|
||||
"manifest": {
|
||||
"name": "husky",
|
||||
"description": "Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message standards, integrating with linting tools, and ensuring code quality on commits.",
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"content": {
|
||||
"files": [
|
||||
{
|
||||
"path": "README.md",
|
||||
"sha256": "7b95d6718fca33b0fceff4c0e0b4072dbcd6e3f64ce9f79b14c92e1eb7e3a653"
|
||||
},
|
||||
{
|
||||
"path": ".claude-plugin/plugin.json",
|
||||
"sha256": "5bed5bcba94a363f05576637b572bf05892b67d314980712a5ff55bb327c71b5"
|
||||
},
|
||||
{
|
||||
"path": "commands/husky.md",
|
||||
"sha256": "a31682f6e312b76f8d5f849524c1f64633b692c315af944b72ec827449be39f1"
|
||||
}
|
||||
],
|
||||
"dirSha256": "8287d3cba6cae0cdcb513c46bb95355cabd8af7e7208d5e1b6a420ad7e15c2da"
|
||||
},
|
||||
"security": {
|
||||
"scannedAt": null,
|
||||
"scannerVersion": null,
|
||||
"flags": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user