Commit Graph
277 Commits
Author SHA1 Message Date
Addy Osmani a4ae751867 docs(code-review): disambiguate file-size signal from diff-size threshold
The file-size paragraph used "1000 total lines" adjacent to the "~1000
lines changed" diff threshold, which let readers conflate "diff too
large" with "file too large". Spell out the distinction inline and
reframe total file length as an inspection signal rather than a hard cap.

Addresses @federicobartoli's review feedback on #304.
2026-06-21 12:08:48 -07:00
Addy Osmani ba7cbe6098 docs(code-review): unify presumptive-blockers stance
Per review: the paragraph said both "Required-by-default" and "flag and
suggest by default", which are opposite stances. Collapse to a single
stance — propose the simpler design for each signal, escalate to Required
only when the change actively makes structure worse.
2026-06-20 17:20:13 -07:00
Addy Osmani 88672b8d1d feat(code-review): add structural-depth lenses to the code-review skill
Our five-axis review is broad but treats structural maintainability passively
("could this be fewer lines?"). This adds the depth a great reviewer brings to
structure, folded into the existing axes/process rather than a separate mode:

- Architecture axis: "reduce, don't relocate" (does the refactor delete
  complexity or just move it?), canonical-layer/helper-reuse discipline, and
  explicit type-boundary checks.
- Readability axis: treat new conditionals bolted onto unrelated flows and
  repeated same-shape conditionals as missing-abstraction signals, not nits.
- New "Structural Remedies" section: name the restructuring move, not just the
  problem (typed dispatcher, collapse duplicate branches, separate orchestration
  from logic, reuse canonical helper, etc.).
- Change Sizing: gate total file size, not just diff size (~1000-line smell).
- Step 4: "lead with what matters" finding-prioritization rule.
- Verification: presumptive blockers, calibrated to our approval philosophy
  (surface and propose the simpler design; block only when structure gets worse).
- Matching Common Rationalizations and Red Flags.

Purely additive; validator passes (24 skills, 0 errors).
2026-06-20 17:05:26 -07:00
Addy Osmani 17214a29c4 docs(readme): add Trendshift badge 2026-06-20 16:56:40 -07:00
Addy OsmaniandGitHub 762ba4a108 Merge pull request #302 from nucliweb/fix/code-review-severity-labels
fix(code-review): align severity labels with the defined taxonomy
2026-06-20 16:53:30 -07:00
Addy Osmani 38f6ddeee8 docs(code-review): mirror taxonomy wording in verification checklist
Use "All Required (no-prefix) changes" to match the severity table's exact
terms ("Required change", no prefix), instead of "required (non-Nit)".
2026-06-20 16:52:46 -07:00
Addy OsmaniandGitHub e5ed3cdb9f Merge pull request #301 from nucliweb/docs/contributing-skill-dedup
docs(contributing): guidelines to curb duplicate skill proposals
2026-06-20 16:49:03 -07:00
Addy Osmani 9a5e3b9240 docs(contributing): drop count-dependent README anchor
Link to README.md without the #all-24-skills fragment so it doesn't break
the moment a new skill bumps the heading to "All 25 Skills".
2026-06-20 16:38:50 -07:00
Joan Leon 89470a5106 fix(code-review): align severity labels with the defined taxonomy
The "Categorize Findings" table defines Critical, Required (no prefix),
Optional/Consider, Nit, and FYI. Two other spots used labels outside that
set: the Multi-Model Review prompt said "Critical, Important, or Suggestion"
and the Verification checklist referenced "All Important issues". "Important"
and "Suggestion" are never defined, so an agent following the skill can't map
them to a severity. Align both to the taxonomy.
2026-06-21 01:33:10 +02:00
Joan Leon eb2ec00684 docs(contributing): add guidance to prevent duplicate skill proposals
Add a "Before proposing a new skill" subsection to CONTRIBUTING.md that
defines a checklist contributors run before opening a new-skill PR: search
the existing catalog, check open PRs for overlapping proposals, confirm the
idea fits the skill anatomy, and justify in the PR description why it isn't
already covered.

The goal is to set clear rules/guidelines that curb duplication, since the
open-PR backlog has accumulated clusters of near-duplicate skill proposals.
Reorganize the section into "Before proposing a new skill" and "Creating the
skill" so the decision step comes before the how-to.
2026-06-21 01:07:59 +02:00
Addy OsmaniandGitHub 0300ca444c Merge pull request #300 from addyosmani/docs/comparison
[docs] Add comparison to alternatives
2026-06-20 15:39:20 -07:00
Addy Osmani 8fea8b42c1 docs(comparison): caution against stacking multiple routers
Per review feedback: clarify that cherry-picking individual skills works,
but running two frameworks as active routers at once causes command-name
conflicts, competing routing, and clashing TDD philosophies. Recommend
one primary router + à la carte borrowing.
2026-06-20 15:35:10 -07:00
Addy OsmaniandGitHub 5b585594ec Merge pull request #247 from Bortlesboat/docs/readme-webperf-command
docs: document the webperf command in README
2026-06-20 15:22:42 -07:00
Addy OsmaniandGitHub 0d172200fd Merge pull request #273 from CollabxConstruct/fix/claude-commands-ignored-lint
fix(claude-plugin): clear "commands/ ignored" lint without breaking Antigravity
2026-06-20 15:18:35 -07:00
Addy Osmani 176c6fa130 [docs] Add comparison to alternatives 2026-06-20 15:03:06 -07:00
Addy OsmaniandGitHub 13e43f2310 Merge pull request #270 from nucliweb/ci/validate-commands
ci: validate command descriptions stay in sync across all three tool directories
2026-06-18 20:51:36 -07:00
Addy OsmaniandGitHub 70f3e44c25 Merge pull request #240 from federicobartoli/feat/observability-checklist
docs: add observability-checklist reference (follow-up to #223)
2026-06-18 20:48:49 -07:00
Addy Osmani 3da232c153 Merge origin/main into feat/observability-checklist
Resolve README.md Reference Checklists table conflict by keeping both new
rows: observability-checklist (this PR) and orchestration-patterns (#290,
already on main).
2026-06-18 20:41:41 -07:00
Addy OsmaniandGitHub b2011c213b Merge pull request #239 from federicobartoli/fix/browser-testing-profile-isolation
fix(browser-testing): default to isolated profile, demote autoConnect
2026-06-18 20:39:28 -07:00
Addy OsmaniandGitHub 36c543d93b Merge pull request #275 from Dashsoap/ci/standardize-checkout-v6
ci: standardize actions/checkout to v6 across all jobs
2026-06-18 12:05:55 -07:00
Addy OsmaniandGitHub 86bb3ea2a4 Merge pull request #288 from Dashsoap/fix/antigravity-code-simplify-conventions-file
fix(antigravity): read AGENTS.md (not CLAUDE.md) in code-simplify command
2026-06-18 12:05:20 -07:00
Addy OsmaniandGitHub 079913a253 Merge pull request #289 from Dashsoap/fix/idea-refine-exec-bit
fix(idea-refine): make idea-refine.sh executable
2026-06-18 12:05:00 -07:00
Addy OsmaniandGitHub 61e9b3742e Merge pull request #290 from Dashsoap/docs/readme-list-orchestration-patterns
docs: list orchestration-patterns.md in the Reference Checklists table
2026-06-18 12:04:32 -07:00
Addy OsmaniandGitHub ce30be9414 Merge pull request #293 from shihyuho/fix/debugging-skill-step-range
docs: fix step range in debugging skill (Steps 4-10 → 4-6)
2026-06-18 12:04:18 -07:00
Shihyu HoandClaude Opus 4.8 ea12d4dcd1 docs: fix step range in debugging skill (Steps 4-10 → 4-6)
The Stop-the-Line Rule and Triage Checklist each have exactly 6 steps
(1-6). "Steps 4-10" referenced steps that never existed — this was an
original error present since the file's first commit, not a leftover
from a previous 10-step structure. Correct the range to match the
actual 6-step content.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 16:05:32 +08:00
Addy OsmaniandGitHub a5f0b17638 Merge pull request #260 from nucliweb/fix/issue-258-agents-readme-frontmatter-warning
fix(agents): move agents/README.md to docs/agents.md (fixes #258)
2026-06-15 17:13:14 -07:00
Dashsoap 7dfc5fbf5e docs: list orchestration-patterns.md in the Reference Checklists table
The references/ directory ships five files, but the Reference Checklists
table in the README listed only four — orchestration-patterns.md was
missing. It is a real reference (linked from AGENTS.md and the agents
docs as the full pattern catalog), so add it to the table for parity
with the other four entries.
2026-06-14 19:36:57 +08:00
Dashsoap 72ea018515 fix(idea-refine): make idea-refine.sh executable
Every other shell script in the repo is 100755 (all six hooks/*.sh),
but skills/idea-refine/scripts/idea-refine.sh was committed 100644.
It has a #!/bin/bash shebang and is invoked as a runnable helper from
its SKILL.md. AGENTS.md also documents scripts/ as 'Required:
executable scripts'. Set the exec bit for consistency.
2026-06-14 19:13:06 +08:00
Dashsoap eae940ea61 ci: standardize actions/checkout to v6 across all jobs
The validate-skills job pinned actions/checkout@v4 while the other two
jobs in the same workflow (test-fresh-install, test-plugin-structure)
use @v6. Align all three on @v6 for consistency.
2026-06-14 19:06:04 +08:00
Dashsoap df0af6f87d fix(antigravity): read AGENTS.md (not CLAUDE.md) in code-simplify command
The antigravity code-simplify command instructed the agent to read
"CLAUDE.md or AGENTS.md", but per docs/antigravity-setup.md the
Antigravity CLI reads AGENTS.md for project conventions. The CLAUDE.md
reference is a leftover from the Claude command variant. Align it with
the other platform commands, where each reads its own conventions file
(.claude reads CLAUDE.md, .gemini reads GEMINI.md).
2026-06-14 19:03:40 +08:00
Addy OsmaniandGitHub 3a6fc63928 Merge pull request #268 from CooperSheroy/catalina/docs-webperf-setup-guides-20260613
docs: include webperf in setup command lists
2026-06-14 01:41:44 -07:00
Addy OsmaniandGitHub 5c5dbe653e Merge pull request #269 from worldfunction4/main
fix: add path fallback for manual installation in hooks.json
2026-06-14 01:38:34 -07:00
Addy OsmaniandGitHub d831fc0e10 Merge pull request #276 from Dashsoap/fix/exec-bit-test-script
fix(hooks): make simplify-ignore-test.sh executable
2026-06-14 01:36:02 -07:00
Addy OsmaniandGitHub 662910cd1a Merge pull request #283 from Dashsoap/docs/getting-started-add-code-simplify
docs: add missing /code-simplify row to getting-started command table
2026-06-14 01:34:55 -07:00
Addy OsmaniandGitHub 652d7b4992 Merge pull request #255 from Swing-G/fix/validate-skills-structured-errors
fix(scripts): report unexpected fs errors as structured validator output
2026-06-14 01:34:33 -07:00
zhoujingtian f2e3bd2ee7 docs: add missing /code-simplify row to getting-started command table
The slash-command reference table in docs/getting-started.md lists every
lifecycle command except /code-simplify, even though it is documented in
the README, has command files for all platforms (.claude/.gemini/commands),
and the table already includes the more specialized /webperf. Add the
missing row mapping /code-simplify to the code-simplification skill.
2026-06-14 16:20:03 +08:00
zhoujingtian 22ce244ba9 fix(hooks): make simplify-ignore-test.sh executable
hooks/simplify-ignore-test.sh was committed with mode 100644 while its
sibling test script hooks/session-start-test.sh is 100755. Both share
the same #!/bin/bash shebang and live in the same directory; set the
exec bit for consistency.
2026-06-14 15:23:28 +08:00
Shika a897dade86 fix(claude-plugin): clear "commands/ ignored" lint without breaking Antigravity
Claude Code v2.1.140+ flags the repo-root commands/ folder as "ignored" in
/doctor, `claude plugin list`, and the /plugin detail view, because
.claude-plugin/plugin.json points `commands` at ./.claude/commands (outside the
default folder) while a root commands/ still exists for Antigravity CLI.

List both locations explicitly so the default folder is no longer "ignored".
Per the plugins reference, the array form keeps the default and adds the custom
dir; the command loader only registers .md files, so Antigravity's
commands/*.toml are silently skipped (no extra Claude commands) and the lint
clears. No behavior change for Claude, Antigravity, or any other tool.
2026-06-13 15:07:38 -04:00
Joan Leon ca5e33d607 fix(ci): harden validate-commands script
- Support single-quoted TOML description strings (previously silently returned null)
- Wrap file reads in try/catch to produce actionable CI errors instead of raw stack traces
- Remove dead tomlStems variable; declare allTomlStems once and compute allCanonicalStems for an accurate command count in the summary
- Simplify description mismatch output to always show all three values, removing a redundant conditional branch
2026-06-13 11:24:56 +02:00
Joan Leon 5e706d9aa8 ci: validate command descriptions stay in sync across all three tool directories 2026-06-13 10:22:52 +02:00
LayyesandGitHub b7833777b1 Fix command execution in hooks.json 2026-06-13 12:30:34 +08:00
LayyesandGitHub 212e7a1d9c fix: add path fallback for manual installation in hooks.json
When users manually copy hooks to .claude/ instead of installing via plugin, ${CLAUDE_PLUGIN_ROOT} is not set and the SessionStart hook silently fails.
   This adds a fallback to ${CLAUDE_PROJECT_DIR}/.claude/hooks/ so the hook works in both plugin and manual install modes. If neither path exists, it silently succeeds.
2026-06-13 12:27:18 +08:00
CooperSheroy 220f831da8 docs: include webperf in setup command lists 2026-06-13 09:05:08 +05:30
Joan Leon c9ab1507a3 fix(agents): move agents/README.md to docs/agents.md to avoid harness warnings
Tools that scan agents/*.md as custom agent definitions (e.g. GitHub Copilot CLI) parse every Markdown file in agents/ and require YAML frontmatter. agents/README.md was docs, not an agent, so it triggered "malformed custom agent" warnings on every session start.

Moving the docs to docs/agents.md keeps agents/ containing only real agent definitions. Updates internal links in the moved file, in the four persona files, AGENTS.md, and adds a pointer from the root README.

Fixes #258
2026-06-12 12:11:52 +02:00
Swing-G 50d115dc15 fix(scripts): report unexpected fs errors as structured validator output 2026-06-12 11:12:23 +08:00
Andrew Barnes 3bc1ec0d3d docs: add webperf to README command list 2026-06-11 09:07:39 -04:00
Federico Bartoli e8c9b4632d fix(browser-testing): default to isolated profile, demote autoConnect
The recommended config attached the agent to the user's running Chrome
via --autoConnect ('recommended for most users'), giving it every open
window of the default profile: logged-in email, banking, GitHub
sessions. Combined with a page containing injected instructions, the
agent effectively holds the user's authenticated browser. The skill's
own Security Boundaries section treats browser content as untrusted,
but profile isolation is the layer that bounds the damage when those
rules fail.

Changes:
- Recommended config now uses --isolated (temporary profile, wiped on
  close); documents that the server's default is already a dedicated
  profile separate from the user's browser
- --autoConnect described accurately (Chrome 144+, requires enabling
  remote debugging) and demoted to the logged-in-state use case
- New 'Profile Isolation' subsection in Security Boundaries with
  escalation rules: dedicated profile -> test-only profile -> real
  profile only with unrelated tabs closed
- Red flag added for attaching to the daily profile for localhost tests
2026-06-11 03:20:03 +00:00
Federico Bartoli 05472ac53a docs: add observability-checklist reference as companion to observability skill
Follow-up suggested in #223 review: folds in the useful half of #61
(the observability checklist) as this skill's quick-reference
companion, mirroring the security-and-hardening / security-checklist
pairing.

Aligned with the merged skill's framing: on-call questions first,
RED/USE metrics, cardinality rules, symptom-based alerting with the
page/ticket two-severity rule, telemetry verification, and a
pre-launch gate. Linked from the skill's Verification section and
registered in the README references table and CLAUDE.md.
2026-06-11 02:56:51 +00:00
Addy Osmani d187883b7d fix(plugin): register web-performance-auditor in plugin.json agents
The .claude-plugin/plugin.json agents array still listed only 3 personas;
add web-performance-auditor so the manifest matches the agents/ directory
(now 4). Verified with `claude plugin validate .`.
0.6.2
2026-06-10 18:39:38 -07:00
Addy OsmaniandGitHub d043d0da29 Merge pull request #227 from hk1997/feat/antigravity-cli-support
feat: add native support for Antigravity CLI (agy)
2026-06-10 18:38:00 -07:00