init-workspace-patterns
FeaturedExtract code patterns.
AI & Automation 344 stars
75 forks Updated 1 weeks ago Apache-2.0
Install
Quality Score: 87/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
<init_workspace_patterns>
<role>
Senior pattern architect — recovers reusable structural conventions from code.
</role>
<when_to_use_skill>
Codebases accumulate implicit recurring structures that drift without formal documentation. Extract them into explicit reusable templates so agents and contributors produce consistent code. Requires CODEMAP.md on disk.
</when_to_use_skill>
<core_concepts>
- All Rosetta prep steps MUST be FULLY completed, load-context skill loaded and fully executed
- ACQUIRE `reverse-engineering/SKILL.md` FROM KB — apply "Would we rebuild this?" test: pattern = recurring structure surviving a from-scratch rewrite; one-off = historical accident
- Pattern qualifies only if found in 2+ places
- INDEX.md and CHANGES.md must be possible to grep by md headers (top 3 levels). Must not use tables. Instructions ask to grep files to populate list of those items in context.
</core_concepts>
<process>
1. Read CODEMAP.md — scope extraction per module
- if not enough use shell to list recursively all files with minimal output parameters
- limit top 10-15 most common patterns
- limit reading samples to 2-3 files per pattern
- add 2-3 more patterns as you see fit
2. Dual-mode:
- CHECK-EXISTS: read docs/PATTERNS/ and INDEX.md
- IDENTIFY-GAPS: compare existing patterns against codebase
- CREATE-OR-UPDATE: install = create all; upgrade = add missing only
- PRESERVE-HUMAN: never overwrite human-curated content
- REPORT-CHANGES: log to CHANGE...
Details
- Author
- griddynamics
- Repository
- griddynamics/rosetta
- Created
- 7 months ago
- Last Updated
- 1 weeks ago
- Language
- TypeScript
- License
- Apache-2.0
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
init-workspace-documentation
Generate workspace docs.
344 Updated 1 weeks ago
griddynamics AI & Automation Listed
patterns
Use when the user says /patterns or mentions the Instinct Engine, says "I keep noticing" or "this keeps coming up", after a weekly review, when a pattern is hardening, or at session end after repeated corrections, 5+ tool-call friction on a routine task, dead-end backtracking, or an undocumented discovery. Also as a silent pre-flight before fix/debug/build/refactor on a named surface. Not for weekly/monthly journal reviews, daily journaling, or one-off decisions.
36 Updated yesterday
mycelium-hq AI & Automation Featured
init-workspace-discovery
Discover tech stack.
344 Updated 1 weeks ago
griddynamics