chore: add plugins settings + remove git instructions
This commit is contained in:
@@ -94,38 +94,6 @@ contains "[Aa]bstraction" "$CODING" \
|
||||
|
||||
echo ""
|
||||
|
||||
# ─── 0006: core/instructions/git.md ──────────────────────────────────────────
|
||||
|
||||
echo "--- 0006: git.md ---"
|
||||
|
||||
GIT="$REPO_ROOT/core/instructions/git.md"
|
||||
|
||||
[[ -f "$GIT" ]] \
|
||||
&& pass "git.md exists" \
|
||||
|| fail "git.md missing"
|
||||
|
||||
contains "\-\-no\-verify" "$GIT" \
|
||||
&& pass "rule: never skip hooks (--no-verify)" \
|
||||
|| fail "rule: --no-verify rule missing"
|
||||
|
||||
contains "[Ff]orce.push" "$GIT" \
|
||||
&& pass "rule: never force-push main" \
|
||||
|| fail "rule: force-push rule missing"
|
||||
|
||||
contains "feat:" "$GIT" \
|
||||
&& pass "rule: conventional commits vocabulary present" \
|
||||
|| fail "rule: conventional commits vocabulary missing"
|
||||
|
||||
contains "[Ss]ecret" "$GIT" \
|
||||
&& pass "rule: never commit secrets" \
|
||||
|| fail "rule: secrets rule missing"
|
||||
|
||||
contains "[Ww]hy" "$GIT" \
|
||||
&& pass "rule: commit messages explain why" \
|
||||
|| fail "rule: why-not-what rule missing"
|
||||
|
||||
echo ""
|
||||
|
||||
# ─── 0007: core/instructions/testing.md ──────────────────────────────────────
|
||||
|
||||
echo "--- 0007: testing.md ---"
|
||||
|
||||
Reference in New Issue
Block a user