@almadar/skills 1.1.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +12 -41
- package/dist/index.js +408 -496
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -105,35 +105,6 @@ declare function generateKflowOrbitalFixingSkill(): GeneratedSkill;
|
|
|
105
105
|
*/
|
|
106
106
|
declare function generateDomainLanguageSkill(): GeneratedSkill;
|
|
107
107
|
|
|
108
|
-
/**
|
|
109
|
-
* KFlow Design Skill Generator
|
|
110
|
-
*
|
|
111
|
-
* Generates the kflow-design skill for render-ui authoring.
|
|
112
|
-
* This is a focused ~10K skill that operates at the transition level,
|
|
113
|
-
* producing rich render-ui effects using the full pattern catalog.
|
|
114
|
-
*
|
|
115
|
-
* Unlike kflow-orbitals (which focuses on structure), this skill
|
|
116
|
-
* focuses entirely on UI design decisions: pattern selection,
|
|
117
|
-
* slot composition, layout nesting, and domain-aware styling.
|
|
118
|
-
*
|
|
119
|
-
* @packageDocumentation
|
|
120
|
-
*/
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Generate the kflow-design skill.
|
|
124
|
-
*
|
|
125
|
-
* Produces a focused ~10K skill for render-ui authoring.
|
|
126
|
-
* Used by the design_transition tool to produce rich UI effects.
|
|
127
|
-
*/
|
|
128
|
-
declare function generateKflowDesignSkill(): GeneratedSkill;
|
|
129
|
-
/**
|
|
130
|
-
* Get design skill stats for comparison.
|
|
131
|
-
*/
|
|
132
|
-
declare function getDesignSkillStats(): {
|
|
133
|
-
lines: number;
|
|
134
|
-
chars: number;
|
|
135
|
-
};
|
|
136
|
-
|
|
137
108
|
/**
|
|
138
109
|
* Lean Orbital Skill Generator
|
|
139
110
|
*
|
|
@@ -238,20 +209,19 @@ declare function generateLeanFixingSkill(options?: LeanFixingSkillOptions): stri
|
|
|
238
209
|
/**
|
|
239
210
|
* Skill Generators for Builder Client
|
|
240
211
|
*
|
|
241
|
-
* Re-exports the
|
|
242
|
-
* 1. kflow-orbitals (standard JSON generation)
|
|
212
|
+
* Re-exports the 5 core skills used by the builder client:
|
|
213
|
+
* 1. kflow-orbitals (standard JSON generation with atomic composition)
|
|
243
214
|
* 2. kflow-orbital-fixing (standard fixing)
|
|
244
215
|
* 3. kflow-lean-orbitals (lean domain language generation)
|
|
245
216
|
* 4. kflow-lean-fixing (lean fixing)
|
|
246
217
|
* 5. domain-language (ODL understanding/summarization)
|
|
247
|
-
* 6. kflow-design (render-ui design for transitions)
|
|
248
218
|
*
|
|
249
219
|
* @packageDocumentation
|
|
250
220
|
*/
|
|
251
221
|
|
|
252
222
|
/**
|
|
253
223
|
* Generate all builder client skills.
|
|
254
|
-
* These are the
|
|
224
|
+
* These are the 5 skills actually used by the builder UI.
|
|
255
225
|
*/
|
|
256
226
|
declare function generateAllBuilderSkills(): GeneratedSkill[];
|
|
257
227
|
|
|
@@ -328,19 +298,20 @@ declare function getPortableOrbitalOutputSection(): string;
|
|
|
328
298
|
declare function getOrbitalConnectivitySection(): string;
|
|
329
299
|
|
|
330
300
|
/**
|
|
331
|
-
*
|
|
301
|
+
* Atomic Composition Design Guide
|
|
332
302
|
*
|
|
333
|
-
*
|
|
334
|
-
*
|
|
303
|
+
* Teaches the LLM to compose atoms, molecules, and organisms within
|
|
304
|
+
* VStack/HStack/Box layout primitives to produce rich, unique views.
|
|
335
305
|
*
|
|
336
|
-
*
|
|
337
|
-
*
|
|
306
|
+
* Replaces the old pattern-selection-by-intent approach with atomic
|
|
307
|
+
* design composition — the same approach used by template authors in
|
|
308
|
+
* packages/almadar-ui/components/templates/.
|
|
338
309
|
*
|
|
339
310
|
* @packageDocumentation
|
|
340
311
|
*/
|
|
341
312
|
/**
|
|
342
|
-
* Get the render-ui
|
|
343
|
-
* Covers syntax, slot strategy,
|
|
313
|
+
* Get the render-ui atomic composition guide.
|
|
314
|
+
* Covers syntax, slot strategy, atomic hierarchy, composition rules, and domain recipes.
|
|
344
315
|
*/
|
|
345
316
|
declare function getRenderUIDesignGuide(): string;
|
|
346
317
|
|
|
@@ -572,4 +543,4 @@ declare function getFieldTypesCompact(): string;
|
|
|
572
543
|
*/
|
|
573
544
|
declare function getKeyBehaviorsReference(): string;
|
|
574
545
|
|
|
575
|
-
export { type GeneratedSkill, type SkillFrontmatter, formatFrontmatter, generateAllBuilderSkills, generateDomainLanguageSkill,
|
|
546
|
+
export { type GeneratedSkill, type SkillFrontmatter, formatFrontmatter, generateAllBuilderSkills, generateDomainLanguageSkill, generateKflowOrbitalFixingSkill, generateKflowOrbitalsSkill, generateLeanFixingSkill$1 as generateLeanFixingSkill, generateLeanFixingSkill as generateLeanFixingSkillFull, generateLeanOrbitalSkill$1 as generateLeanOrbitalSkill, generateLeanOrbitalSkill as generateLeanOrbitalSkillFull, getArchitectureSection, getAssetRefSection, getCommonErrorsSection, getCommonFixPatternsSection, getCompletionRulesSection, getConnectivityCompact, getContextUsageCompact, getContextUsageSection, getCustomTraitCompact, getCustomTraitSection, getDecompositionChecklist, getDecompositionCompact, getDecompositionSection, getDesignErrorsCompact, getDesignErrorsSection, getEfficiencySection, getFieldTypesCompact, getFixingWorkflowSection, getFlowPatternSection, getFullOrbitalPrompt, getGameAsOrbitalsSection, getGameEntityTemplatesSection, getGamePatternsSection, getGameTraitsSection, getGameTypesSection, getIconLibraryCompact, getIconLibrarySection, getKeyBehaviorsReference, getMinimalTypeReference, getMultiFileSection, getOrbitalConnectivitySection, getOrbitalDecompositionPrompt, getOverGenerationSection, getPatternTypesCompact, getPortableOrbitalOutputSection, getRenderUIDesignGuide, getRenderUIQuickRef, getRequirementsDecomposePrompt, getRequirementsTraitPrompt, getSExprQuickRef, getSchemaUpdateCompact, getSchemaUpdateSection, getUsesImportCompact, getUsesImportSection, getValidationHintsSection, writeAllSkills, writeSkill };
|