Skip to content

feat(architecture): add the principles knowledge skill for module-design vocabulary - #16089

Merged
kyle-sexton merged 3 commits into
mainfrom
feat/architecture-principles-skill
Nov 14, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
feat/architecture-principles-skill

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: owner-decided change to where the architecture plugin's module-design vocabulary lives, plus a defect fix found while reading the scan's scoping step.

Summary

The module-design vocabulary becomes a public knowledge skill, /architecture:principles, with its sources corrected term by term; and the deepening scan's hot-spot step can now rank paths and leaves out bot commits.

Fix

  • New skill /architecture:principles. It answers vocabulary questions (module, interface, implementation, seam, adapter, depth, leverage, locality, and the checks built on them) so other skills cite the terms by skill name. No setting replaces the terms; a project's glossary still wins for domain nouns.
  • One home for the vocabulary. The file moves from architecture:improve's private research folder to plugins/architecture/reference/vocabulary.md, which both skills read. Every link is repointed. The scan briefing now says to copy the definitions into each scan agent's primer, since a scan agent may lack the Skill tool.
  • Sources by term. The file credited Ousterhout for everything except "seam". It now says: module, interface, implementation and depth are Ousterhout's; seam is Feathers's, quoted, with the interface clause marked as our narrowing; adapter is Cockburn's, with our narrower sense marked; leverage and locality as what depth produces, the deletion test and the two-adapter check are this plugin's own.
  • Hot-spot step. With no direction given, the scan ranks "the paths that change most often" from git log --oneline, which prints no paths. It now reads git log --name-only with the author in the format line and leaves out commits whose author name contains [bot], plus any automation account the project names.

Verification

  • scripts/check-affected.sh on the worker's head: 16 passed, 2 skipped; the pre-push run on the final head passed.
  • The skill checks pass for the new skill (0 warnings); leaf-name registry, next-graph, line-citations, skill-count-claims, evals-quality and listing-budget checks pass.
  • git grep finds no remaining link to the old path outside CHANGELOG history.
  • In this repository 76 of the last 200 commits are bot-authored, which the new step leaves out.
  • Left out: the plugin manifest's description does not name the new skill, because adding it passes the 500-character limit validate-plugins enforces; the new skill's evals were not run against a model.

Related

  • A regex author filter (git log --perl-regexp --author=...) was tried for the bot exclusion and dropped: the shell-portability check flags --perl-regexp as unavailable on git builds without PCRE.
  • docs/conventions/ai-slop.yaml moves its AI-vocabulary exemption to the file's new path; the file discusses those words.

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits November 13, 2026 20:59
…ign vocabulary

The module-design vocabulary moves out of architecture:improve's private
files into /architecture:principles, so other skills can load it by name.
improve's references point at the new home, and the scan briefing copies the
terms into each scan agent's primer.

The vocabulary's basis now names the source of each term: Ousterhout for
module, interface, implementation and depth; Feathers for seam; Cockburn's
ports and adapters for adapter; leverage, locality, the deletion test and the
two-adapter check are our own.

The deepening hot-spot step reads changed paths with git log --name-only and
leaves out bot-authored commits.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ference folder

Both skills read it, so it sits beside the plugin's other shared
references and neither skill reaches into the other's files.

Co-authored-by: Claude Fable 5.2 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 14, 2026 02:03
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T02:04:56.896583Z 5f46941 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg base
Run job failure
Activity step skipped
Commits pushed none (read lane)
Run 43544176367

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed ea2a9c8a4838850a429266ac0f6082c3120b03a5: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #16089, head ea2a9c8 (incremental since 5f46941)

No security issues found.

critical-findings: 0

Scope. This was an incremental review. I read the one file that changed since 5f469412, plugins/architecture/skills/principles/SKILL.md, by reading its whole hunk in .claude-lane/incremental.diff. The prior-findings file says blocking only: yes, so this review reports only CRITICAL and IMPORTANT findings.

What I checked.

  • The change. It edits the visible text of one Markdown link, from reference/vocabulary.md to vocabulary.md. The link target, ${CLAUDE_PLUGIN_ROOT}/reference/vocabulary.md, is the same as before.
  • What the change does not touch. No tool grant, command, hook, MCP server or setting changes. No guardrail is deleted, narrowed or softened, so the instruction-surface lens finds nothing.
  • Trusted paths and manifests. The file matches none of the TRUSTED PATHS: globs. No plugin.json or marketplace.json changed, so there are no manifest lines.
  • Earlier review. My review of the earlier head reported no findings, so nothing carries forward.

Spend. None. The change adds no lane runs and no billable resources.

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed ea2a9c8a4838850a429266ac0f6082c3120b03a5: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Incremental code review: PR #16089 (5f46941 → ea2a9c8)

No findings. This review was blocking only, because this lane already reviewed an earlier head.

Scope: one file changed since the last review, plugins/architecture/skills/principles/SKILL.md. I read its whole change in .claude-lane/incremental.diff.

What changed: the link text in the opening paragraph went from `reference/vocabulary.md` to `vocabulary.md`. The link target, ${CLAUDE_PLUGIN_ROOT}/reference/vocabulary.md, stayed the same. The last review confirmed that this target resolves to the moved vocabulary file. The change only edits the displayed text, so no link, routing table entry or section name changes.

Closing issue: the PR closes none, so there are no acceptance criteria to check.

Verifier dropped 0 of 0 candidates.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit 48f35dd Nov 14, 2026
105 of 109 checks passed
@kyle-sexton
kyle-sexton deleted the feat/architecture-principles-skill branch November 14, 2026 03:26
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant