name: Design Crystallizer description: > This skill should be used when the user asks to "crystallize design", "infer design", "analyze design structure", "what should this code be", "design extraction", "structural analysis", "code design audit", "design gap analysis", "measure code against design", or mentions inferring implied design from code context, extracting structural intent, or systematically analyzing implementation structure against design expectations. version: 0.1.0
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
| Here we draft the **outline of a software documentation standard**, borrowing from the style and rigor of ISO-level documents (e.g., ISO/IEC 42010 for architecture). We’ll call this is *“Application Architecture Material Essence Standard (AAMES)”*. | |
| --- | |
| # **Application Architecture Material Essence Standard (AAMES)** | |
| *(Outline Draft, ISO-Style)* | |
| --- |
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
| import {Directive, EventEmitter, forwardRef, HostListener, Input, Output} from '@angular/core'; | |
| import {ControlValueAccessor, NG_VALUE_ACCESSOR} from "@angular/forms"; | |
| @Directive({ | |
| selector: '[Bind]', | |
| providers: [ | |
| { | |
| provide: NG_VALUE_ACCESSOR, | |
| useExisting: forwardRef(() => BindDirective), | |
| multi: true, |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| var screenName = $("html").data("screen"); | |
| requirejs( | |
| ["ClientApp/Boosters/" + screenName + "App"], | |
| function (application) { | |
| $(document).ready(application.Boost); | |
| } | |
| ); |
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
| //The Bus module: | |
| //======================== | |
| var makeBus = function () { | |
| var subscribers = {}; | |
| var subscriptions = []; | |
| var makeDeliveryJob = function (client) { | |
| return function (event) { | |
| client.Receive(event); |
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
| define( | |
| ["widget", "hoozitFactory"], | |
| function widgetFactory(widget, hoozitFactory){ | |
| return { | |
| create:function() { | |
| var hoozit = hoozitFactory.create(); | |
| widget.hoozit = hoozit; | |
| widget.initSomethingBasedOnCurrentTime(); | |
| widget.initSomethingBasedOnCurrentSomeOtherThing(); | |
| widget.andOtherThings(); |