vibecoding-devtools 1.0.1
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.
- package/LICENSE +21 -0
- package/README.md +46 -0
- package/hooks/full-suite.mjs +156 -0
- package/hooks/lib/io.mjs +135 -0
- package/hooks/maestri-protocol.mjs +48 -0
- package/hooks/secret-scan.mjs +90 -0
- package/installer/cli.mjs +263 -0
- package/installer/clis.mjs +46 -0
- package/installer/convert.mjs +91 -0
- package/installer/detect.mjs +389 -0
- package/installer/execute.mjs +386 -0
- package/installer/hooks.mjs +67 -0
- package/installer/json-merge.mjs +211 -0
- package/installer/panel.mjs +99 -0
- package/installer/plan.mjs +255 -0
- package/installer/state.mjs +105 -0
- package/installer/third-party.json +16 -0
- package/installer/third-party.mjs +204 -0
- package/npm-shrinkwrap.json +80 -0
- package/package.json +43 -0
- package/rules/base.md +25 -0
- package/rules/context-on-demand.md +25 -0
- package/rules/maestri-messaging.md +10 -0
- package/rules/maestri-usage.md +12 -0
- package/rules/model-tiers.md +17 -0
- package/rules/risk-process.md +69 -0
- package/rules/testing.md +53 -0
- package/skills/maestri-agent-cli/SKILL.md +150 -0
- package/skills/maestri-agent-cli/references/_template.md +62 -0
- package/skills/maestri-agent-cli/references/antigravity.md +206 -0
- package/skills/maestri-agent-cli/references/claude-code.md +203 -0
- package/skills/maestri-agent-cli/references/codex.md +190 -0
- package/skills/maestri-budget/SKILL.md +118 -0
- package/skills/maestri-protocol/SKILL.md +72 -0
- package/skills/risk-triage/SKILL.md +44 -0
- package/skills/security-surfaces/SKILL.md +31 -0
- package/skills/security-surfaces/surfaces/accounts-and-data.md +41 -0
- package/skills/security-surfaces/surfaces/inputs-and-services.md +47 -0
- package/skills/security-surfaces/surfaces/money.md +57 -0
- package/skills/security-surfaces/surfaces/secrets-and-infra.md +43 -0
- package/templates/AGENTS.md +68 -0
- package/templates/CLAUDE.md +1 -0
- package/templates/coderabbit.yaml +127 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
AGENTS.md template from vibecoding-devtools. Copy to the project root, fill in <...> and delete what does not apply,
|
|
3
|
+
including this comment. Claude Code, Codex and Antigravity read this file; the project's CLAUDE.md contains only
|
|
4
|
+
`@AGENTS.md`.
|
|
5
|
+
|
|
6
|
+
Limits: Codex reads at most 32 KiB across all AGENTS.md files, and Claude Code recommends fewer than 200 lines. This
|
|
7
|
+
file is a routing table: always applicable content stays here, in a few lines; the rest lives in separate files and
|
|
8
|
+
goes into the "Before starting" table.
|
|
9
|
+
-->
|
|
10
|
+
|
|
11
|
+
# <Project name>
|
|
12
|
+
|
|
13
|
+
<One or two sentences: what the system does and for whom.>
|
|
14
|
+
|
|
15
|
+
## Map
|
|
16
|
+
|
|
17
|
+
| App or folder | Role | Stack | README |
|
|
18
|
+
|---|---|---|---|
|
|
19
|
+
| `<apps/api>` | <public API> | <Python 3.13, FastAPI> | `<apps/api/README.md>` |
|
|
20
|
+
| `<apps/web>` | <web dashboard> | <TypeScript, Next.js> | `<apps/web/README.md>` |
|
|
21
|
+
|
|
22
|
+
- **Boundaries:** <who can call whom; what one app never imports from another>.
|
|
23
|
+
- **External integrations:** <service → client folder → official documentation in `docs/vendor/<service>`>.
|
|
24
|
+
|
|
25
|
+
## Commands
|
|
26
|
+
|
|
27
|
+
| For | Command |
|
|
28
|
+
|---|---|
|
|
29
|
+
| Install dependencies | `<pnpm install>` |
|
|
30
|
+
| Run locally | `<pnpm dev>` |
|
|
31
|
+
| Lint and typecheck | `<pnpm lint && pnpm typecheck>` |
|
|
32
|
+
| Tests for a path | `<pnpm test -- path>` |
|
|
33
|
+
| Build | `<pnpm build>` |
|
|
34
|
+
|
|
35
|
+
Locally, run only tests for what you changed; CI runs the full suite.
|
|
36
|
+
|
|
37
|
+
## Risk map
|
|
38
|
+
|
|
39
|
+
Overrides the generic list in the `risk-process` rule. The riskiest file in the change determines the level.
|
|
40
|
+
|
|
41
|
+
| Level | Paths |
|
|
42
|
+
|---|---|
|
|
43
|
+
| **High** | `<apps/api/payments/**>`, `<apps/api/auth/**>`, `<migrations/**>`, `<.github/workflows/**>`, `<infra/**>` |
|
|
44
|
+
| **Medium** | `<apps/*/src/**>` outside High-risk paths |
|
|
45
|
+
| **Low** | `<docs/**>`, `<**/*.md>`, `<public/**>` |
|
|
46
|
+
|
|
47
|
+
Critical areas with a higher coverage floor: <list or write "none">.
|
|
48
|
+
|
|
49
|
+
## Before starting
|
|
50
|
+
|
|
51
|
+
| If the task involves | Read or use |
|
|
52
|
+
|---|---|
|
|
53
|
+
| Any coding task | the `risk-triage` skill |
|
|
54
|
+
| High risk | the `security-surfaces` skill, only touched surfaces |
|
|
55
|
+
| <Integration with service X> | `<docs/vendor/x/README.md>` |
|
|
56
|
+
| <Visual interface> | <project design skill> |
|
|
57
|
+
|
|
58
|
+
## Project rules
|
|
59
|
+
|
|
60
|
+
Always apply and override generic kit and third-party (ECC) rules. Only what is specific to this project:
|
|
61
|
+
|
|
62
|
+
- <Example: all amounts in cents, type `Money`; never `float`.>
|
|
63
|
+
- <Example: interface text in pt-BR, code and commits in English.>
|
|
64
|
+
|
|
65
|
+
## Done
|
|
66
|
+
|
|
67
|
+
- <Project criterion beyond green CI, for example: migration tested on a database with data.>
|
|
68
|
+
- If an app's structure, role or flow changes, update its README in the same commit.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@AGENTS.md
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
|
|
2
|
+
#
|
|
3
|
+
# .coderabbit.yaml template (copy to the repository root and adjust the TODOs).
|
|
4
|
+
# Reference: https://docs.coderabbit.ai/reference/configuration
|
|
5
|
+
# Problem solved: noisy reviews (poems, diagrams, test suggestions to raise coverage) and enforcing generic rules
|
|
6
|
+
# the project has replaced. Cost avoided: PR cycles spent on low-value comments.
|
|
7
|
+
|
|
8
|
+
language: en-US
|
|
9
|
+
tone_instructions: >-
|
|
10
|
+
Objective technical reviewer, in English. Focus on bugs, security and regressions. Cite file:line, group repetitions
|
|
11
|
+
into a single comment and do not praise.
|
|
12
|
+
inheritance: false
|
|
13
|
+
|
|
14
|
+
reviews:
|
|
15
|
+
profile: chill
|
|
16
|
+
# Branch protection blocks merges; the checks below only flag issues.
|
|
17
|
+
request_changes_workflow: false
|
|
18
|
+
high_level_summary: true
|
|
19
|
+
review_status: true
|
|
20
|
+
collapse_walkthrough: true
|
|
21
|
+
changed_files_summary: false
|
|
22
|
+
sequence_diagrams: false
|
|
23
|
+
estimate_code_review_effort: false
|
|
24
|
+
poem: false
|
|
25
|
+
in_progress_fortune: false
|
|
26
|
+
suggested_reviewers: false
|
|
27
|
+
suggested_labels: false
|
|
28
|
+
auto_apply_labels: false
|
|
29
|
+
|
|
30
|
+
auto_review:
|
|
31
|
+
enabled: true
|
|
32
|
+
drafts: false
|
|
33
|
+
auto_incremental_review: true
|
|
34
|
+
base_branches:
|
|
35
|
+
- main
|
|
36
|
+
ignore_title_keywords:
|
|
37
|
+
- "WIP"
|
|
38
|
+
- "[skip review]"
|
|
39
|
+
|
|
40
|
+
path_filters:
|
|
41
|
+
# TODO: project lockfiles, binary assets, vendor and generated files.
|
|
42
|
+
- "!**/*.min.js"
|
|
43
|
+
- "!**/*.min.css"
|
|
44
|
+
|
|
45
|
+
path_instructions:
|
|
46
|
+
- path: "**/*"
|
|
47
|
+
instructions: |
|
|
48
|
+
- `AGENTS.md`, `CLAUDE.md` and project rules override generic rules (ECC). Do not request tests just to raise
|
|
49
|
+
coverage or TDD outside bug fixes and pure rules.
|
|
50
|
+
- Follow the item's risk level: for text, styling, docs or configuration changes, flag only actual bugs.
|
|
51
|
+
- Never describe an exploitable vulnerability detail in a public comment; point to the file and request a
|
|
52
|
+
private report.
|
|
53
|
+
# TODO: area-specific instructions (e.g. money, authentication, personal data folders) referring to the
|
|
54
|
+
# security-surfaces skill and the project's risk map.
|
|
55
|
+
|
|
56
|
+
pre_merge_checks:
|
|
57
|
+
docstrings:
|
|
58
|
+
mode: off
|
|
59
|
+
title:
|
|
60
|
+
mode: warning
|
|
61
|
+
requirements: >-
|
|
62
|
+
Conventional Commits: type (feat, fix, refactor, docs, test, chore, perf, ci), optional scope and short
|
|
63
|
+
description.
|
|
64
|
+
description:
|
|
65
|
+
mode: warning
|
|
66
|
+
issue_assessment:
|
|
67
|
+
mode: off
|
|
68
|
+
custom_checks:
|
|
69
|
+
- name: "CHANGELOG updated"
|
|
70
|
+
mode: warning
|
|
71
|
+
instructions: |
|
|
72
|
+
If the PR changes production code, Dockerfiles or dependencies (not only tests or documentation), the diff
|
|
73
|
+
must include an entry under `[Unreleased]` in CHANGELOG. Pass if the entry exists or the PR does not touch
|
|
74
|
+
these paths.
|
|
75
|
+
- name: "No secrets or exploitable details"
|
|
76
|
+
mode: error
|
|
77
|
+
instructions: |
|
|
78
|
+
Fail if the diff adds a real secret (token, API key, password, webhook URL, connection string with
|
|
79
|
+
credentials)
|
|
80
|
+
or exploitable steps for an unfixed vulnerability to a public file.
|
|
81
|
+
Clearly fake synthetic values in tests and empty variables in `.env.example` pass.
|
|
82
|
+
|
|
83
|
+
finishing_touches:
|
|
84
|
+
docstrings:
|
|
85
|
+
enabled: false
|
|
86
|
+
unit_tests:
|
|
87
|
+
enabled: false
|
|
88
|
+
|
|
89
|
+
tools:
|
|
90
|
+
# TODO: enable stack linters (ruff, eslint, biome, golangci-lint) and disable redundant ones.
|
|
91
|
+
actionlint:
|
|
92
|
+
enabled: true
|
|
93
|
+
hadolint:
|
|
94
|
+
enabled: true
|
|
95
|
+
yamllint:
|
|
96
|
+
enabled: true
|
|
97
|
+
shellcheck:
|
|
98
|
+
enabled: true
|
|
99
|
+
markdownlint:
|
|
100
|
+
enabled: true
|
|
101
|
+
gitleaks:
|
|
102
|
+
enabled: true
|
|
103
|
+
osvScanner:
|
|
104
|
+
enabled: true
|
|
105
|
+
zizmor:
|
|
106
|
+
enabled: true
|
|
107
|
+
github-checks:
|
|
108
|
+
enabled: true
|
|
109
|
+
languagetool:
|
|
110
|
+
enabled: false
|
|
111
|
+
|
|
112
|
+
chat:
|
|
113
|
+
auto_reply: true
|
|
114
|
+
|
|
115
|
+
knowledge_base:
|
|
116
|
+
code_guidelines:
|
|
117
|
+
enabled: true
|
|
118
|
+
filePatterns:
|
|
119
|
+
- "AGENTS.md"
|
|
120
|
+
- "CLAUDE.md"
|
|
121
|
+
# TODO: project rules, for example ".claude/rules/<project>/*.md".
|
|
122
|
+
learnings:
|
|
123
|
+
scope: local
|
|
124
|
+
issues:
|
|
125
|
+
scope: local
|
|
126
|
+
pull_requests:
|
|
127
|
+
scope: local
|