myk-claude-tools 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. myk_claude_tools-0.1.0/.claude-plugin/marketplace.json +26 -0
  2. myk_claude_tools-0.1.0/.coderabbit.yaml +87 -0
  3. myk_claude_tools-0.1.0/.flake8 +11 -0
  4. myk_claude_tools-0.1.0/.git +1 -0
  5. myk_claude_tools-0.1.0/.gitignore +156 -0
  6. myk_claude_tools-0.1.0/.markdownlint.yaml +8 -0
  7. myk_claude_tools-0.1.0/.pr_agent.toml +55 -0
  8. myk_claude_tools-0.1.0/.pre-commit-config.yaml +64 -0
  9. myk_claude_tools-0.1.0/AI_REVIEW.md +634 -0
  10. myk_claude_tools-0.1.0/CLAUDE.md +634 -0
  11. myk_claude_tools-0.1.0/CLAUDE.md.example +189 -0
  12. myk_claude_tools-0.1.0/PKG-INFO +380 -0
  13. myk_claude_tools-0.1.0/README.md +357 -0
  14. myk_claude_tools-0.1.0/agents/00-base-rules.md +56 -0
  15. myk_claude_tools-0.1.0/agents/api-documenter.md +149 -0
  16. myk_claude_tools-0.1.0/agents/bash-expert.md +80 -0
  17. myk_claude_tools-0.1.0/agents/code-reviewer.md +164 -0
  18. myk_claude_tools-0.1.0/agents/codebase-refactor-analyst.md +168 -0
  19. myk_claude_tools-0.1.0/agents/debugger.md +36 -0
  20. myk_claude_tools-0.1.0/agents/docker-expert.md +59 -0
  21. myk_claude_tools-0.1.0/agents/docs-fetcher.md +169 -0
  22. myk_claude_tools-0.1.0/agents/frontend-expert.md +47 -0
  23. myk_claude_tools-0.1.0/agents/general-purpose.md +84 -0
  24. myk_claude_tools-0.1.0/agents/git-expert.md +171 -0
  25. myk_claude_tools-0.1.0/agents/github-expert.md +213 -0
  26. myk_claude_tools-0.1.0/agents/go-expert.md +74 -0
  27. myk_claude_tools-0.1.0/agents/java-expert.md +63 -0
  28. myk_claude_tools-0.1.0/agents/jenkins-expert.md +73 -0
  29. myk_claude_tools-0.1.0/agents/kubernetes-expert.md +69 -0
  30. myk_claude_tools-0.1.0/agents/python-expert.md +91 -0
  31. myk_claude_tools-0.1.0/agents/technical-documentation-writer.md +70 -0
  32. myk_claude_tools-0.1.0/agents/test-automator.md +38 -0
  33. myk_claude_tools-0.1.0/agents/test-runner.md +123 -0
  34. myk_claude_tools-0.1.0/myk_claude_tools/__init__.py +3 -0
  35. myk_claude_tools-0.1.0/myk_claude_tools/cli.py +29 -0
  36. myk_claude_tools-0.1.0/myk_claude_tools/db/__init__.py +13 -0
  37. myk_claude_tools-0.1.0/myk_claude_tools/db/commands.py +206 -0
  38. myk_claude_tools-0.1.0/myk_claude_tools/db/query.py +585 -0
  39. myk_claude_tools-0.1.0/myk_claude_tools/pr/__init__.py +1 -0
  40. myk_claude_tools-0.1.0/myk_claude_tools/pr/claude_md.py +154 -0
  41. myk_claude_tools-0.1.0/myk_claude_tools/pr/commands.py +60 -0
  42. myk_claude_tools-0.1.0/myk_claude_tools/pr/common.py +162 -0
  43. myk_claude_tools-0.1.0/myk_claude_tools/pr/diff.py +231 -0
  44. myk_claude_tools-0.1.0/myk_claude_tools/pr/post_comment.py +397 -0
  45. myk_claude_tools-0.1.0/myk_claude_tools/release/__init__.py +1 -0
  46. myk_claude_tools-0.1.0/myk_claude_tools/release/commands.py +38 -0
  47. myk_claude_tools-0.1.0/myk_claude_tools/release/create.py +214 -0
  48. myk_claude_tools-0.1.0/myk_claude_tools/release/info.py +364 -0
  49. myk_claude_tools-0.1.0/myk_claude_tools/reviews/__init__.py +5 -0
  50. myk_claude_tools-0.1.0/myk_claude_tools/reviews/commands.py +64 -0
  51. myk_claude_tools-0.1.0/myk_claude_tools/reviews/fetch.py +688 -0
  52. myk_claude_tools-0.1.0/myk_claude_tools/reviews/post.py +469 -0
  53. myk_claude_tools-0.1.0/myk_claude_tools/reviews/store.py +270 -0
  54. myk_claude_tools-0.1.0/plugins/README.md +78 -0
  55. myk_claude_tools-0.1.0/plugins/myk-github/.claude-plugin/plugin.json +11 -0
  56. myk_claude_tools-0.1.0/plugins/myk-github/README.md +59 -0
  57. myk_claude_tools-0.1.0/plugins/myk-github/commands/pr-review.md +149 -0
  58. myk_claude_tools-0.1.0/plugins/myk-github/commands/release.md +82 -0
  59. myk_claude_tools-0.1.0/plugins/myk-github/commands/review-handler.md +96 -0
  60. myk_claude_tools-0.1.0/plugins/myk-qodo/.claude-plugin/plugin.json +11 -0
  61. myk_claude_tools-0.1.0/plugins/myk-qodo/README.md +183 -0
  62. myk_claude_tools-0.1.0/plugins/myk-qodo/commands/ask.md +79 -0
  63. myk_claude_tools-0.1.0/plugins/myk-qodo/commands/describe.md +73 -0
  64. myk_claude_tools-0.1.0/plugins/myk-qodo/commands/improve.md +104 -0
  65. myk_claude_tools-0.1.0/plugins/myk-qodo/commands/review.md +106 -0
  66. myk_claude_tools-0.1.0/plugins/myk-qodo/skills/ask/SKILL.md +106 -0
  67. myk_claude_tools-0.1.0/plugins/myk-qodo/skills/describe/SKILL.md +109 -0
  68. myk_claude_tools-0.1.0/plugins/myk-qodo/skills/improve/SKILL.md +110 -0
  69. myk_claude_tools-0.1.0/plugins/myk-qodo/skills/review/SKILL.md +224 -0
  70. myk_claude_tools-0.1.0/plugins/myk-review/.claude-plugin/plugin.json +11 -0
  71. myk_claude_tools-0.1.0/plugins/myk-review/README.md +52 -0
  72. myk_claude_tools-0.1.0/plugins/myk-review/commands/local.md +61 -0
  73. myk_claude_tools-0.1.0/plugins/myk-review/commands/query-db.md +143 -0
  74. myk_claude_tools-0.1.0/pypi-dist/.gitignore +1 -0
  75. myk_claude_tools-0.1.0/pyproject.toml +74 -0
  76. myk_claude_tools-0.1.0/rules/00-orchestrator-core.md +50 -0
  77. myk_claude_tools-0.1.0/rules/05-issue-first-workflow.md +187 -0
  78. myk_claude_tools-0.1.0/rules/10-agent-routing.md +162 -0
  79. myk_claude_tools-0.1.0/rules/15-mcp-launchpad.md +96 -0
  80. myk_claude_tools-0.1.0/rules/20-code-review-loop.md +36 -0
  81. myk_claude_tools-0.1.0/rules/25-task-system.md +263 -0
  82. myk_claude_tools-0.1.0/rules/30-slash-commands.md +32 -0
  83. myk_claude_tools-0.1.0/rules/40-critical-rules.md +98 -0
  84. myk_claude_tools-0.1.0/rules/50-agent-bug-reporting.md +146 -0
  85. myk_claude_tools-0.1.0/scripts/git-protection.py +547 -0
  86. myk_claude_tools-0.1.0/scripts/my-notifier.sh +37 -0
  87. myk_claude_tools-0.1.0/scripts/rule-enforcer.py +82 -0
  88. myk_claude_tools-0.1.0/scripts/rule-injector.py +45 -0
  89. myk_claude_tools-0.1.0/scripts/session-start-check.sh +82 -0
  90. myk_claude_tools-0.1.0/settings.json +137 -0
  91. myk_claude_tools-0.1.0/skills/agent-browser/SKILL.md +277 -0
  92. myk_claude_tools-0.1.0/state/.gitignore +6 -0
  93. myk_claude_tools-0.1.0/state/.gitkeep +0 -0
  94. myk_claude_tools-0.1.0/statusline.sh +54 -0
  95. myk_claude_tools-0.1.0/tests/__init__.py +1 -0
  96. myk_claude_tools-0.1.0/tests/test_get_all_reviews.py +920 -0
  97. myk_claude_tools-0.1.0/tests/test_git_protection.py +1145 -0
  98. myk_claude_tools-0.1.0/tests/test_post_review_replies.py +1030 -0
  99. myk_claude_tools-0.1.0/tests/test_review_db.py +655 -0
  100. myk_claude_tools-0.1.0/tests/test_rule_enforcer.py +629 -0
  101. myk_claude_tools-0.1.0/tests/test_store_reviews_to_db.py +916 -0
  102. myk_claude_tools-0.1.0/tox.toml +7 -0
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "myk-org",
3
+ "owner": {
4
+ "name": "myk-org"
5
+ },
6
+ "plugins": [
7
+ {
8
+ "name": "myk-qodo",
9
+ "source": "./plugins/myk-qodo",
10
+ "description": "Qodo AI code review integration",
11
+ "version": "1.0.0"
12
+ },
13
+ {
14
+ "name": "myk-github",
15
+ "source": "./plugins/myk-github",
16
+ "description": "GitHub operations - PR reviews, releases, review handling",
17
+ "version": "1.0.0"
18
+ },
19
+ {
20
+ "name": "myk-review",
21
+ "source": "./plugins/myk-review",
22
+ "description": "Local code review and review database operations",
23
+ "version": "1.0.0"
24
+ }
25
+ ]
26
+ }
@@ -0,0 +1,87 @@
1
+ # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2
+ # CodeRabbit AI Review Instructions
3
+ # Based on project-specific rules from AI_REVIEW.md
4
+
5
+ # Language for reviews
6
+ language: en-US
7
+
8
+ # Review tone and communication style (max 250 chars)
9
+ tone_instructions: "Be direct and specific. Explain WHY rules exist. Provide code examples. Distinguish critical violations from suggestions. Use severity levels: CRITICAL (blocking/security), HIGH (types/defensive), MEDIUM (style), LOW (suggestions)."
10
+
11
+ # Enable early access features
12
+ early_access: true
13
+
14
+ reviews:
15
+ # Review profile: assertive for strict enforcement
16
+ profile: assertive
17
+
18
+ # Request changes for critical violations
19
+ request_changes_workflow: true
20
+
21
+ # Review display settings
22
+ high_level_summary: true
23
+ poem: false
24
+ review_status: true
25
+ collapse_walkthrough: false
26
+
27
+ # Auto-review configuration
28
+ auto_review:
29
+ enabled: true
30
+ drafts: false
31
+
32
+ # Enable relevant tools for Python/JavaScript project
33
+ tools:
34
+ # Python linting
35
+ ruff:
36
+ enabled: true
37
+ pylint:
38
+ enabled: true
39
+
40
+ # JavaScript linting
41
+ eslint:
42
+ enabled: true
43
+
44
+ # Shell script checking
45
+ shellcheck:
46
+ enabled: true
47
+
48
+ # YAML validation
49
+ yamllint:
50
+ enabled: true
51
+
52
+ # Security scanning
53
+ gitleaks:
54
+ enabled: true
55
+ semgrep:
56
+ enabled: true
57
+
58
+ # GitHub Actions workflow validation
59
+ actionlint:
60
+ enabled: true
61
+
62
+ # Dockerfile linting
63
+ hadolint:
64
+ enabled: true
65
+
66
+ # Knowledge base configuration
67
+ knowledge_base:
68
+ # Enable code guidelines enforcement from AI_REVIEW.md
69
+ code_guidelines:
70
+ enabled: true
71
+ filePatterns:
72
+ - "AI_REVIEW.md"
73
+ # Enable learning from repository patterns
74
+ learnings:
75
+ scope: auto
76
+
77
+ # Enable learning from issues
78
+ issues:
79
+ scope: auto
80
+
81
+ # Enable learning from pull requests
82
+ pull_requests:
83
+ scope: auto
84
+
85
+ # Chat settings
86
+ chat:
87
+ auto_reply: true
@@ -0,0 +1,11 @@
1
+ [flake8]
2
+ select=M511
3
+
4
+ exclude =
5
+ doc,
6
+ .tox,
7
+ .git,
8
+ .yml,
9
+ Pipfile.*,
10
+ docs/*,
11
+ .cache/*
@@ -0,0 +1 @@
1
+ gitdir: /tmp/github-webhook-claude-code-config-q1o3unze/.git/worktrees/github-webhook-claude-code-config-q1o3unze-worktree-06cf7d9c-d69c-454b-996e-e698ab7c4555
@@ -0,0 +1,156 @@
1
+ # Ignore everything by default
2
+ # This config integrates into ~/.claude so we must be explicit about what we track
3
+ *
4
+
5
+ # Core config files
6
+ !.coderabbit.yaml
7
+ !.gitignore
8
+ !AI_REVIEW.md
9
+ !README.md
10
+ !settings.json
11
+ !statusline.sh
12
+ !.markdownlint.yaml
13
+
14
+ # agents/
15
+ !agents/
16
+ !agents/00-base-rules.md
17
+ !agents/api-documenter.md
18
+ !agents/bash-expert.md
19
+ !agents/code-reviewer.md
20
+ !agents/codebase-refactor-analyst.md
21
+ !agents/debugger.md
22
+ !agents/docs-fetcher.md
23
+ !agents/docker-expert.md
24
+ !agents/frontend-expert.md
25
+ !agents/general-purpose.md
26
+ !agents/git-expert.md
27
+ !agents/github-expert.md
28
+ !agents/go-expert.md
29
+ !agents/java-expert.md
30
+ !agents/jenkins-expert.md
31
+ !agents/kubernetes-expert.md
32
+ !agents/python-expert.md
33
+ !agents/technical-documentation-writer.md
34
+ !agents/test-automator.md
35
+ !agents/test-runner.md
36
+
37
+ # skills/
38
+ !skills/
39
+ !skills/agent-browser/
40
+ !skills/agent-browser/SKILL.md
41
+
42
+ # rules/
43
+ !rules/
44
+ !rules/00-orchestrator-core.md
45
+ !rules/05-issue-first-workflow.md
46
+ !rules/10-agent-routing.md
47
+ !rules/15-mcp-launchpad.md
48
+ !rules/20-code-review-loop.md
49
+ !rules/25-task-system.md
50
+ !rules/30-slash-commands.md
51
+ !rules/40-critical-rules.md
52
+ !rules/50-agent-bug-reporting.md
53
+
54
+ # scripts/
55
+ !scripts/
56
+ !scripts/git-protection.py
57
+ !scripts/my-notifier.sh
58
+ !scripts/rule-enforcer.py
59
+ !scripts/rule-injector.py
60
+ !scripts/session-start-check.sh
61
+
62
+ # tests/
63
+ !tests/
64
+ !tests/__init__.py
65
+ !tests/test_git_protection.py
66
+ !tests/test_get_all_reviews.py
67
+ !tests/test_post_review_replies.py
68
+ !tests/test_review_db.py
69
+ !tests/test_rule_enforcer.py
70
+ !tests/test_store_reviews_to_db.py
71
+
72
+ # Config files
73
+ !tox.toml
74
+ !pyproject.toml
75
+ !.pre-commit-config.yaml
76
+ !.flake8
77
+
78
+ # Qodo config
79
+ !.pr_agent.toml
80
+
81
+ # Claude data directory (SQLite databases)
82
+ .claude/data/
83
+
84
+ # plugins/
85
+ !plugins/
86
+ !plugins/README.md
87
+
88
+ # plugins/myk-github/
89
+ !plugins/myk-github/
90
+ !plugins/myk-github/.claude-plugin/
91
+ !plugins/myk-github/.claude-plugin/plugin.json
92
+ !plugins/myk-github/commands/
93
+ !plugins/myk-github/commands/pr-review.md
94
+ !plugins/myk-github/commands/release.md
95
+ !plugins/myk-github/commands/review-handler.md
96
+ !plugins/myk-github/README.md
97
+
98
+ # plugins/myk-qodo/
99
+ !plugins/myk-qodo/
100
+ !plugins/myk-qodo/.claude-plugin/
101
+ !plugins/myk-qodo/.claude-plugin/plugin.json
102
+ !plugins/myk-qodo/skills/
103
+ !plugins/myk-qodo/skills/ask/
104
+ !plugins/myk-qodo/skills/ask/SKILL.md
105
+ !plugins/myk-qodo/skills/describe/
106
+ !plugins/myk-qodo/skills/describe/SKILL.md
107
+ !plugins/myk-qodo/skills/improve/
108
+ !plugins/myk-qodo/skills/improve/SKILL.md
109
+ !plugins/myk-qodo/skills/review/
110
+ !plugins/myk-qodo/skills/review/SKILL.md
111
+ !plugins/myk-qodo/commands/
112
+ !plugins/myk-qodo/commands/ask.md
113
+ !plugins/myk-qodo/commands/describe.md
114
+ !plugins/myk-qodo/commands/improve.md
115
+ !plugins/myk-qodo/commands/review.md
116
+ !plugins/myk-qodo/README.md
117
+
118
+ # plugins/myk-review/
119
+ !plugins/myk-review/
120
+ !plugins/myk-review/.claude-plugin/
121
+ !plugins/myk-review/.claude-plugin/plugin.json
122
+ !plugins/myk-review/commands/
123
+ !plugins/myk-review/commands/local.md
124
+ !plugins/myk-review/commands/query-db.md
125
+ !plugins/myk-review/README.md
126
+
127
+ # .claude-plugin/ (marketplace)
128
+ !.claude-plugin/
129
+ !.claude-plugin/marketplace.json
130
+
131
+ # myk_claude_tools/ package
132
+ !myk_claude_tools/
133
+ !myk_claude_tools/__init__.py
134
+ !myk_claude_tools/cli.py
135
+ !myk_claude_tools/db/
136
+ !myk_claude_tools/db/__init__.py
137
+ !myk_claude_tools/db/commands.py
138
+ !myk_claude_tools/db/query.py
139
+ !myk_claude_tools/pr/
140
+ !myk_claude_tools/pr/__init__.py
141
+ !myk_claude_tools/pr/claude_md.py
142
+ !myk_claude_tools/pr/commands.py
143
+ !myk_claude_tools/pr/common.py
144
+ !myk_claude_tools/pr/diff.py
145
+ !myk_claude_tools/pr/post_comment.py
146
+ !myk_claude_tools/release/
147
+ !myk_claude_tools/release/__init__.py
148
+ !myk_claude_tools/release/commands.py
149
+ !myk_claude_tools/release/create.py
150
+ !myk_claude_tools/release/info.py
151
+ !myk_claude_tools/reviews/
152
+ !myk_claude_tools/reviews/__init__.py
153
+ !myk_claude_tools/reviews/commands.py
154
+ !myk_claude_tools/reviews/fetch.py
155
+ !myk_claude_tools/reviews/post.py
156
+ !myk_claude_tools/reviews/store.py
@@ -0,0 +1,8 @@
1
+ # Default state for all rules
2
+ default: true
3
+
4
+ # MD013/line-length - Line length
5
+ MD013:
6
+ line_length: 180
7
+ code_blocks: false
8
+ tables: false
@@ -0,0 +1,55 @@
1
+ # .pr_agent.toml - Qodo Merge configuration
2
+ # Matching CodeRabbit config with direct/assertive tone
3
+
4
+ [config]
5
+ response_language = "en-US"
6
+ add_repo_metadata = true
7
+ add_repo_metadata_file_list = ["AI_REVIEW.md"]
8
+ ignore_pr_title = ["^\\[WIP\\]", "^WIP:", "^Draft:"]
9
+ ignore_pr_labels = ["wip", "work-in-progress"]
10
+
11
+ [github_app]
12
+ handle_pr_actions = ["opened", "reopened", "ready_for_review"]
13
+ pr_commands = ["/describe", "/review", "/improve"]
14
+ feedback_on_draft_pr = false
15
+ handle_push_trigger = true
16
+ push_commands = ["/review", "/improve"]
17
+
18
+ [pr_reviewer]
19
+ extra_instructions = """
20
+ Review Style:
21
+ - Be direct and specific. Explain WHY rules exist.
22
+ - Classify each finding by severity:
23
+ * CRITICAL: Security vulnerabilities, blocking issues - must fix before merge
24
+ * HIGH: Syntax errors, broken logic - should fix
25
+ * MEDIUM: Style/quality issues - nice to fix
26
+ * LOW: Suggestions/optional enhancements
27
+
28
+ Focus Areas:
29
+ - Markdown structure and clarity (agent/command definitions)
30
+ - Bash script quality (shellcheck compliance, error handling, quoting)
31
+ - Python hook scripts (type annotations, exception handling)
32
+ - TOML/JSON syntax validation
33
+ - Follow AI_REVIEW.md guidelines for orchestrator pattern
34
+ """
35
+ require_security_review = true
36
+ require_tests_review = true
37
+ require_estimate_effort_to_review = false
38
+ require_score_review = false
39
+ enable_review_labels_security = false
40
+ enable_review_labels_effort = false
41
+ num_max_findings = 50
42
+ persistent_comment = false
43
+ enable_help_text = true
44
+
45
+ [pr_code_suggestions]
46
+ extra_instructions = "Focus on Bash script quality (shellcheck, quoting, error handling), Python hook correctness, and Markdown clarity. Follow AI_REVIEW.md orchestrator pattern guidelines."
47
+ focus_only_on_problems = false
48
+ suggestions_score_threshold = 5
49
+ #commitable_code_suggestions = true
50
+ #apply_suggestions_checkbox = true
51
+ #enable_chat_in_code_suggestions = true
52
+
53
+ [ignore]
54
+ glob = []
55
+ regex = []
@@ -0,0 +1,64 @@
1
+ ---
2
+ default_language_version:
3
+ python: python3
4
+
5
+ ci:
6
+ autofix_prs: false
7
+ autoupdate_commit_msg: "ci: [pre-commit.ci] pre-commit autoupdate"
8
+
9
+ repos:
10
+ - repo: https://github.com/pre-commit/pre-commit-hooks
11
+ rev: v6.0.0
12
+ hooks:
13
+ - id: check-added-large-files
14
+ - id: check-docstring-first
15
+ - id: check-executables-have-shebangs
16
+ - id: check-merge-conflict
17
+ - id: check-symlinks
18
+ - id: detect-private-key
19
+ - id: mixed-line-ending
20
+ - id: debug-statements
21
+ - id: trailing-whitespace
22
+ args: [--markdown-linebreak-ext=md] # Do not process Markdown files.
23
+ - id: end-of-file-fixer
24
+ - id: check-ast
25
+ - id: check-builtin-literals
26
+ - id: check-toml
27
+
28
+ - repo: https://github.com/PyCQA/flake8
29
+ rev: 7.3.0
30
+ hooks:
31
+ - id: flake8
32
+ args: [--config=.flake8]
33
+ additional_dependencies:
34
+ [flake8-mutable]
35
+
36
+ - repo: https://github.com/Yelp/detect-secrets
37
+ rev: v1.5.0
38
+ hooks:
39
+ - id: detect-secrets
40
+
41
+ - repo: https://github.com/astral-sh/ruff-pre-commit
42
+ rev: v0.14.14
43
+ hooks:
44
+ - id: ruff
45
+ - id: ruff-format
46
+
47
+ - repo: https://github.com/gitleaks/gitleaks
48
+ rev: v8.30.0
49
+ hooks:
50
+ - id: gitleaks
51
+
52
+ - repo: https://github.com/pre-commit/mirrors-mypy
53
+ rev: v1.19.1
54
+ hooks:
55
+ - id: mypy
56
+ additional_dependencies:
57
+ - pytest
58
+
59
+ - repo: https://github.com/igorshubovych/markdownlint-cli
60
+ rev: v0.44.0
61
+ hooks:
62
+ - id: markdownlint
63
+ args: [--config, .markdownlint.yaml]
64
+ types: [markdown]