PE hyperstack: merge design-patterns and engineering-discipline into best-practices - #140
Merged
KailasMahavarkar merged 1 commit intoSep 3, 2026
Conversation
…ine into best-practices The two skills shipped byte-identical copies of the same six pattern reference files (2172 lines duplicated), and design-patterns-skill was a subset of engineering-discipline's own Quick Reference mode. Merges both into skills/best-practices, keeping the pattern-selection table and the AI-bias guidance that only design-patterns-skill carried, and adds four reference files for rules neither skill covered: coupling and abstraction limits, change and review hygiene, architecture at scale, and an operations baseline. Deletes the orphaned references/misc/overview.md, a Kiro-era install doc that restated SKILL.md and documented a directory layout that no longer exists. Callers updated across 20 files. CHANGELOG and dated design specs keep the old names as historical record.
KailasMahavarkar
deleted the
c-PE-hyperstack-merge-skills-into-best-practices
branch
September 3, 2026 22:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merges
design-patterns-skillandengineering-disciplineinto one skill,best-practices, and adds the rules from a 100-rule general coding rulebook that neither of them covered. Net 483 insertions against 2957 deletions across 46 files.Why merge
The two skills shipped the same six reference files, byte for byte:
cmppatterns/design-architecture.mdpatterns/error-handling.mdpatterns/maintainability.mdpatterns/readability.mdpatterns/simplicity.mdpatterns/testing.md2172 lines carried twice, with no mechanism keeping them in sync.
design-patterns-skillwas also a strict subset of whatengineering-disciplinealready advertised as its Quick Reference mode, so the split cost a duplicate and bought nothing.What survived from each
engineering-disciplinedesign-patterns-skillNew reference files
Grepped the merged references and then every skill in the repo before writing anything: these had zero hits repo-wide.
references/practices/coupling-and-abstraction.mdreferences/practices/change-hygiene.mdTODO(#id)tracked debt, bounded Boy Scout rulereferences/practices/architecture-scale.mdreferences/practices/operations-baseline.mdRouted rather than restated: OWASP to
security-review, complexity analysis tooptimizer, reviewer dispatch tocode-review, framework specifics toreact-pro-coderandpython-pro-coder. A new "Owned Elsewhere" table in the skill makes that explicit so the next contributor does not add a fourth copy.Source material corrections
The rulebook this drew from needed three fixes before ingesting:
Its OWASP Top 10:2025 reference does check out (released November 2025, finalized January 2026), but that surface belongs to
security-review, which is built on the OWASP Cheat Sheet Series, so this skill routes there instead of restating a list that will move again.Also removed
references/misc/overview.md(450 lines): an orphaned Kiro-era install document. Nothing referenced it, it restated SKILL.md, it documented a.kiro/skillsinstall path that does not apply, and it described areferences/principles/directory that has not existed under that name.Callers updated
20 files: root
SKILL.md,skills/hyperstack/SKILL.md,README.md,install.md,summary.md,CREDITS.md,src/internal/context-compiler.ts(bootstrap assertion list), and the 13 skills that reference the execution skill by name in their lifecycle chains.CHANGELOG.mdanddocs/superpowers/specs/2026-06-21-pm-persona-design.mdkeep the old names. They record what happened at the time and are not documentation of the current state.Verification
29 skill directories, 29 rows in
skills/INDEX.md, README section counts Core 13 / Domain 7 / Meta 2 match their tables.Note for reviewers using this repo as their agent harness
Anything outside this repository that routes to
hyperstack:engineering-disciplineorhyperstack:design-patterns-skillby name (a personalCLAUDE.md, anAGENTS.md, a saved prompt) needs the new name. The skill declaressupersedes: ["engineering-discipline", "design-patterns-skill"]in its frontmatter to make that discoverable.