文件历史

106 次代码提交

作者 SHA1 备注 提交日期
ayobamiseun 2e49319164 docs(tdd): make test-driven-development ecosystem-neutral (#404 Phase 1)
- SKILL.md gains a 'Discover the Stack First' step: identify the
  language, build system, checked-in wrappers, test framework, and
  documented commands before choosing any test command, and run the
  repository's own focused/full-suite commands throughout the loop
- verification checklist no longer hardcodes 'npm test'; red flag added
  for reaching for a default test command without checking the repo
- references/testing-patterns.md relabeled in place as JavaScript/
  TypeScript examples illustrating the universal principles (no
  relocation, per the #361/#236 sequencing agreed in the issue)
- new behavioral eval: a Python/unittest fixture verifying the skill
  adapts to non-npm repository tooling
2026-07-19 17:08:30 +01:00
Sebastian Mendel a0eba71b55 docs(adr): keep convention detection repository-local and forge-agnostic
Drop the GitHub-org .github repo and open-PR scanning: a reusable
skill must not require network access or assume a particular forge,
and unmerged PRs are proposals, not established conventions. Detect
the convention from repository context only (existing ADRs, project
instructions, ADR tooling config) and surface conflicting evidence
instead of silently adding another scheme.

Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
2026-07-16 19:03:19 +02:00
Sebastian Mendel 0d52faf08d docs(adr): match an existing ADR convention before creating one
The ADR Template section hard-codes docs/decisions/ Markdown with its
own numbering. Real projects often already have a convention in a
different location or format (e.g. Documentation/Decisions/*.rst, MADR,
adr-tools) — sometimes introduced in a not-yet-merged PR or the org
.github repo. Adds a 'Match the existing convention first' step:
detect location/format, numbering, and headings (scanning open PRs and
the org .github repo) and continue them; fall back to the default only
when none exists.

Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
2026-07-15 01:08:07 +02:00
Federico Bartoli 175013ab41 docs(security): harden package-manager supply-chain guidance 2026-07-11 09:34:05 +02:00
Addy Osmani dfb9bf2f33 Merge pull request #346 from HMAKT99/feat/dependency-upgrades
docs(code-review): add dependency upgrade workflow to Dependency Discipline
2026-07-09 19:27:25 -07:00
Addy Osmani 8ddfe89eb8 Merge pull request #345 from HMAKT99/feat/db-schema-migrations
docs(deprecation): add database schema migration patterns (expand/contract)
2026-07-09 19:27:16 -07:00
Zhiyao 13ca1dea5c fix(evals): cover description vocabulary gaps 2026-07-07 14:57:16 +08:00
Arun Kumar Thiagarajan e270415226 docs(code-review): add dependency upgrade workflow to Dependency Discipline
Extends the existing adopt gate with the missing upgrade workflow: read the
changelog over the version number, one package per change, verify via tests,
review the lockfile/transitive diff. Cross-links security-and-hardening for
npm audit and supply-chain rather than duplicating it.
2026-07-05 19:30:20 +05:30
Arun Kumar Thiagarajan 5a4a69adfc docs(deprecation): add database schema migration patterns (expand/contract)
Adds a Database Schema Migrations section to deprecation-and-migration covering
expand/contract, dual-write + batched backfill, additive-first/destructive-last,
tested down paths, and non-blocking index builds. References incremental-implementation
for slicing; reuses the skill's existing Feature Flag Migration pattern.
2026-07-05 19:28:17 +05:30
Addy Osmani 8c65303053 Merge pull request #334 from HMAKT99/feat/release-versioning
Test Plugin Installation / Validate skill content (push) Has been cancelled
Test Plugin Installation / Validate command parity and description sync (push) Has been cancelled
Test Plugin Installation / Validate plugin structure (push) Has been cancelled
Test Plugin Installation / Test plugin installation (push) Has been cancelled
docs(git-workflow): add release & versioning (semver, tags, changelogs)
2026-07-02 15:05:04 -07:00
hiyochi 7d36add8cf fix: add tasks/plan.md and tasks/todo.md output paths to planning skills
The /plan command specifies saving the plan to tasks/plan.md and
tasks/todo.md, but the planning-and-task-breakdown skill (the canonical
source) had no file path instructions. When spec-driven-development
transitions to Plan phase, it references the skill directly, bypassing
the /plan command, causing plans to be written to the wrong location.

- Add Output Files section to planning-and-task-breakdown with explicit
  tasks/plan.md and tasks/todo.md paths
- Add path instruction to Step 1 (Enter Plan Mode)
- Add Output convention note to spec-driven-development Phase 2
2026-06-30 05:16:40 +08:00
Arun Kumar Thiagarajan 1ffce563cf docs(git-workflow): add release & versioning (semver, tags, changelog)
git-workflow-and-versioning had versioning in its name but no versioning content.
Adds a Release & Versioning section: semver as a consumer contract, tag-as-source-
of-truth, and human-readable changelogs written with the change. Cross-links
api-and-interface-design, deprecation-and-migration, and shipping-and-launch.
2026-06-27 23:06:47 +05:30
Addy Osmani 5aacc3bce9 Merge pull request #307 from creazyfrog/fix/issue-136
fix: replace /mnt/skills/user/ paths with repo-relative paths
2026-06-25 10:49:56 -07:00
Addy Osmani e0d2e43747 Merge pull request #303 from nucliweb/refactor/spec-delegate-planning
docs(spec): point Plan and Tasks phases to planning-and-task-breakdown
2026-06-23 20:26:57 -07:00
Joan Leon 8bc10948f8 docs(dod): align prose with links and cross-link standing items to owning skills
Address review feedback on #317:
- Wire the Definition of Done into incremental-implementation as a final
  per-task gate, so the doc's intro list and the See Also links agree.
- Cross-link the Quality and Ship-readiness items to the skills that own
  their depth (code-review-and-quality, code-simplification,
  security-and-hardening, observability-and-instrumentation,
  shipping-and-launch).
2026-06-23 09:47:27 +02:00
Joan Leon b89a675b4d docs: add Definition of Done reference checklist
Introduce a project-wide Definition of Done as a standing bar every change clears before it counts as done, distinct from the per-task acceptance criteria the project already covers.

The concept existed implicitly across the project (per-task acceptance criteria, per-skill Verification sections, the pre-launch checklist) but was never named or unified. This adds a single reusable checklist and wires it in without duplicating existing content:

- references/definition-of-done.md: the standing checklist, grouped into Correctness, Quality, Integration, Documentation, and Ship-readiness, plus a table contrasting Definition of Done with acceptance criteria.
- using-agent-skills: linked from Core Operating Behavior #6 (Verify, Don't Assume), the bar that applies across all skills.
- planning-and-task-breakdown: See Also note clarifying acceptance criteria sit on top of the standing bar.
- shipping-and-launch: See Also pointer as the floor beneath the deploy-specific gates.
- README: entry in the Reference Checklists table.
2026-06-23 01:04:32 +02:00
Joan Leon 5dc73103d0 docs(spec): make planning-and-task-breakdown precedence explicit
Address review feedback on the Plan and Tasks delegation pointers. Both
pointers now state that planning-and-task-breakdown takes precedence if
the inline summaries ever diverge, removing the drift ambiguity. Unify
both pointers to the blockquote form for consistency.
2026-06-21 21:55:29 +02:00
Addy Osmani a4ae751867 docs(code-review): disambiguate file-size signal from diff-size threshold
Test Plugin Installation / Validate skill content (push) Has been cancelled
Test Plugin Installation / Validate command parity and description sync (push) Has been cancelled
Test Plugin Installation / Validate plugin structure (push) Has been cancelled
Test Plugin Installation / Test plugin installation (push) Has been cancelled
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
creazyfrog 572aeee6fc fix: replace /mnt/skills/user/ paths with repo-relative paths
The /mnt/skills/user/ prefix was an artefact of the Anthropic workbench
environment where skills were originally developed. These paths do not
exist in a standard git clone.

Replace all three occurrences with the correct repo-relative path:
  /mnt/skills/user/{name}/scripts/{script}.sh -> skills/{name}/scripts/{script}.sh

The script referenced in idea-refine/SKILL.md (idea-refine.sh) already
exists at skills/idea-refine/scripts/idea-refine.sh.

Fixes #136

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-20 22:05:35 -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 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
Joan Leon 9dcd31c7d7 docs(spec): point Plan and Tasks phases to planning-and-task-breakdown
The Plan and Tasks phases of spec-driven-development restated planning
mechanics that the dedicated planning-and-task-breakdown skill already owns.
Add a one-line delegation pointer to each phase naming that skill as the
canonical source for dependency-graph mapping, vertical slicing, task sizing,
and ordering, mirroring how the Implement phase already delegates to
incremental-implementation and test-driven-development. The inline bullets and
task template stay as a lightweight quick reference.
2026-06-21 01:40:57 +02: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
Addy Osmani 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 Osmani 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 Osmani 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
Shihyu Ho 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
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
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
Federico Bartoli e5e8729b16 Note OTel metrics as the vendor-neutral path, prom-client as one backend 2026-06-10 05:40:02 +00:00
Federico Bartoli 5c11d59047 Address review: rename heading, fix lifecycle placement
Rename Core Process to Process, and move observability next to
implementation in the lifecycle sequence so it no longer contradicts
the skill's own instrument-as-you-build rule.
2026-06-09 20:30:27 +00:00
Federico Bartoli 1295bd1010 feat: add observability-and-instrumentation skill
Fills the gap between debugging-and-error-recovery (dev-time) and
shipping-and-launch (launch-day monitoring): how to instrument code
as it's built so production behavior is visible and diagnosable.

Covers structured logging with correlation IDs, RED/USE metrics with
cardinality guidance, OpenTelemetry tracing, and symptom-based
alerting with runbooks. Follows the standard skill anatomy (Overview,
When to Use, Process, Rationalizations, Red Flags, Verification).

Registered in README tables/structure, CLAUDE.md phases, and the
using-agent-skills discovery tree (hooks/session-start-test.sh passes).
2026-06-09 17:56:41 +00:00
Joan Leon fd6554afb6 fix(browser-testing): correct chrome-devtools-mcp install config
Package name was wrong (@anthropic/chrome-devtools-mcp does not exist).
Adds -y to skip npx confirmation prompt and --autoConnect as the
recommended default to connect automatically to a running Chrome instance.
2026-06-09 10:04:23 +02:00
Addy Osmani d1983929db fix(security): address review on #219
Per nucliweb's review:
- Resolve OWASP numbering inconsistency: rename the prevention section to
  "OWASP Top 10 Prevention Patterns" and drop the per-item numbers so it no
  longer implies a ranking that conflicts with the 2021 quick-reference table.
- Harden the SSRF example against DNS rebinding/TOCTOU: resolve all records
  and reject if any is non-unicast, plus a caveat that fetch re-resolves and
  pointers to request-filtering-agent / ssrf-req-filter for high-risk surfaces.
- Add LLM08 (Vector and Embedding Weaknesses) to the LLM section and the
  reference table, covering per-tenant embedding isolation and poisoned docs.
- Promote "Threat Model First" to a "## Process" header per the repo's skill
  anatomy convention.
- Make the LLM "GOOD" example parse defensively (JSON.parse + schema in a
  try/catch) so it models handling untrusted output end to end.
2026-06-07 11:36:31 -07:00
Addy Osmani db7015d261 feat(security): add threat modeling, SSRF, supply-chain, and LLM security
Strengthen the security-and-hardening skill with the highest-value gaps
without changing its secure-coding-for-builders scope:

- Threat Model First: a STRIDE/trust-boundary process step up front, so the
  skill drives proactive design (OWASP A04) instead of only listing controls
- SSRF prevention (§7): allowlist + private-IP-block pattern; the one OWASP
  Top 10 item previously listed but never exemplified
- Supply-chain hygiene: lockfile/npm ci, postinstall and typosquat risks (A06)
- Securing AI/LLM features: prompt injection, untrusted model output, secrets
  in prompts, excessive agency, unbounded consumption (OWASP LLM Top 10 2025)
- Secret-leak response: rotate, don't just rewrite history
- Threaded the new areas into the review checklist, rationalizations,
  red flags, and verification

Skill grows 349 -> 448 lines (+28%). Validator passes.
2026-06-05 21:57:15 -07:00
Addy Osmani 6ce029897d Merge pull request #186 from superShen0916/fix/meta-skill-routing
docs: route all lifecycle skills from meta-skill
2026-05-27 23:47:30 -07:00
Daniel ARTOLA c4ad44928c feat(interview-me): add reason to low-confidence numbers
A bare confidence percentage gives no signal about what's blocking clarity.
When confidence is below ~70%, the skill now requires a one-line reason on
the same CONFIDENCE line so the user knows exactly what the interview still
needs to surface.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 20:39:35 +02:00
superShen0916 6c0e9103ee docs: route all lifecycle skills from meta-skill
Signed-off-by: superShen0916 <superShen0916@users.noreply.github.com>
2026-05-20 10:50:34 +08:00
Addy Osmani b116253918 Merge pull request #164 from addyosmani/feat/interview-me-skill
feat: add interview-me skill (during the Define phase)
2026-05-13 21:48:35 -07:00
Addy Osmani 12ae36e0d5 interview-me: address review feedback
Test Plugin Installation / Validate plugin structure (push) Has been cancelled
Test Plugin Installation / Test plugin installation (push) Has been cancelled
- Disambiguate the using-agent-skills flowchart so interview-me and
  idea-refine no longer match the same condition top-to-bottom
  ("Don't know what you want yet?" vs "Have a rough concept, need
  variants?").
- Add "grill me" to interview-me's frontmatter description and the
  When to Use trigger list (it was already mentioned in README).
- Reorder sections: Example and Interaction with Other Skills now
  precede Common Rationalizations and Red Flags, so the persuasive
  example lands before the rationalization table.

Per review by @nucliweb on #164.
2026-05-13 21:47:29 -07:00
Addy Osmani 3cbb832341 Merge pull request #174 from spboyer/improve/skill-frontmatter-compliance
docs(skills): tighten frontmatter for idea-refine and browser-testing-with-devtools
2026-05-13 21:29:09 -07:00
Shayne Boyer 4d277aa72e docs(skills): tighten frontmatter for idea-refine and browser-testing
idea-refine: rewrite the description to follow the repository's
documented "Use when..." trigger convention (AGENTS.md). The previous
description was 135 characters, redundant, and used the skill name
itself as the only trigger phrase, making it the only skill not aligned
with how the other 21 skills self-describe.

browser-testing-with-devtools: surface the Chrome DevTools MCP
dependency at the top of the description and explicitly note the
requirement, so agents that route by MCP availability can detect it
without parsing the body.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-12 16:55:56 -04:00
TianTian 0e497aa1f1 fix codex cross-skill references 2026-05-12 09:12:13 +08:00
Addy Osmani aec93252da feat: add interview-me skill (Define phase)
Adds interview-me, a skill that sits upstream of every other
Define-phase skill. Trigger: an underspecified ask, or the user
explicitly invoking the skill ("interview me", "are we sure?",
"stress-test my thinking").

The gap it fills: idea-refine generates variations from a raw idea,
spec-driven-development writes requirements down once you know them,
and doubt-driven-development stress-tests a plan after you've drafted
one. None of those cover the moment before — when the user has said
"build me X" and X is the conventional answer rather than what they
actually want. This skill is the structured interview that surfaces
the gap before any plan, spec, or code exists.

Distinctive mechanics:
- Confidence numbers as forcing function (Step 1 commits to 0-100%)
- Q + GUESS format: every question carries the agent's hypothesis
- One question at a time, never batched
- Checkable stop condition: "Can I predict the user's reaction to the
  next three questions I would ask?"
- Six-line restate template ending in explicit yes
- Names the four bad yeses ("whatever you think", "sounds good",
  "sure let's go", silence) with specific re-prompts

Registers the skill in:
- CLAUDE.md (Define phase, also adding idea-refine which was missing)
- README.md (skills table, count, project tree)
- skills/using-agent-skills/SKILL.md (flowchart, lifecycle sequence,
  quick reference table)
2026-05-10 13:23:48 -07:00
Federico Bartoli 97e12d03e7 Harden doubt-driven-development: cross-model + internal consistency
Folds in the safety and consistency findings surfaced by running
the skill against itself in two cycles (single-model adversarial
review + cross-model verification via Codex).

Cross-model escalation is now offered in every interactive cycle,
and the CLI invocation path uses a read-only sandbox with prompts
piped through stdin to neutralize shell-escaping and prompt-injection
risks (verified against Codex 0.128.0 and Gemini 0.41.2 locally).

Internal consistency fixes from the adversarial self-review: the
adversarial prompt explicitly overrides persona templates; the
persona roster is referenced rather than duplicated; the Step 2
'Claim' bullet is renamed Assertion to disambiguate from the Step 1
CLAIM block; the manual fallback in Loading Constraints is labeled
as a degraded last-resort path; the forward reference to Step 3 is
anchored; the Verification checklist no longer contains an item not
derivable from the Process; and using-agent-skills's Lifecycle
Sequence now includes the skill at position 7.
2026-05-07 20:43:59 +02:00
Federico Bartoli 0af1a5ef15 feat: add doubt-driven-development skill
Codifies adversarial fresh-context review as an in-flight development
posture, distinct from /review (post-hoc PR-level verdict). Every
non-trivial decision passes through a 5-step cycle (CLAIM → EXTRACT →
DOUBT → RECONCILE → STOP) before standing.

Cross-model escalation is described as a contract, not as hardcoded
CLI invocations — the skill instructs the agent to ask the user which
external tool to use and how, since CLI syntax (Gemini, Codex, etc.)
changes and varies by environment.

Updates README skill listing (count, Build table, project tree),
CLAUDE.md Skills by Phase, and using-agent-skills flowchart + Quick
Reference for discoverability parity with the existing skills.
2026-05-07 19:05:49 +02:00
Addy Osmani b08f834291 Merge pull request #70 from sbusanelli/fix/redundant-verification
Fix: Add guidance to prevent redundant build verification commands
2026-05-06 18:18:37 -07:00