@almadar/skills 2.1.0 → 2.3.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 +42 -1
- package/dist/index.js +828 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -122,6 +122,29 @@ declare function generateDomainLanguageSkill(): GeneratedSkill;
|
|
|
122
122
|
*/
|
|
123
123
|
declare function generateAlmadarAssistantSkill(): GeneratedSkill;
|
|
124
124
|
|
|
125
|
+
/**
|
|
126
|
+
* Orb Skill Generator
|
|
127
|
+
*
|
|
128
|
+
* Generates the "orb" skill for .orb program generation.
|
|
129
|
+
* This skill restricts the LLM to atoms and molecules only (no organisms).
|
|
130
|
+
*
|
|
131
|
+
* The 104 standard behaviors demonstrate that atoms + molecules cover every
|
|
132
|
+
* domain (CRUD, dashboards, finance, healthcare, IoT, games, social, education).
|
|
133
|
+
* Organisms are rigid and don't compose well. Molecules compose freely.
|
|
134
|
+
*
|
|
135
|
+
* Used by the Masar pipeline and builder agents for schema generation.
|
|
136
|
+
*
|
|
137
|
+
* @packageDocumentation
|
|
138
|
+
*/
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Generate the "orb" skill.
|
|
142
|
+
*
|
|
143
|
+
* Molecule-first pattern vocabulary derived from 104 standard behaviors.
|
|
144
|
+
* No organisms. Atoms and molecules compose to build any UI.
|
|
145
|
+
*/
|
|
146
|
+
declare function generateOrbSkill(): GeneratedSkill;
|
|
147
|
+
|
|
125
148
|
/**
|
|
126
149
|
* Lean Orbital Skill Generator
|
|
127
150
|
*
|
|
@@ -336,6 +359,24 @@ declare function getOrbitalConnectivitySection(): string;
|
|
|
336
359
|
*/
|
|
337
360
|
declare function getRenderUIDesignGuide(): string;
|
|
338
361
|
|
|
362
|
+
/**
|
|
363
|
+
* .orb Render-UI Composition Guide
|
|
364
|
+
*
|
|
365
|
+
* Teaches the LLM to compose render-ui trees using ONLY atoms and molecules
|
|
366
|
+
* (plus allowed exceptions: data-list, data-grid, search-input, form-section, meter).
|
|
367
|
+
*
|
|
368
|
+
* Pattern list is derived dynamically from @almadar/patterns registry.
|
|
369
|
+
* No hardcoded pattern lists. When patterns are added/removed from the registry,
|
|
370
|
+
* this guide updates automatically.
|
|
371
|
+
*
|
|
372
|
+
* @packageDocumentation
|
|
373
|
+
*/
|
|
374
|
+
/**
|
|
375
|
+
* Get the .orb render-ui composition guide.
|
|
376
|
+
* Uses only atoms/molecules from the registry, reflecting golden behavior patterns.
|
|
377
|
+
*/
|
|
378
|
+
declare function getOrbRenderUIGuide(): string;
|
|
379
|
+
|
|
339
380
|
/**
|
|
340
381
|
* Theme Variable System Guide
|
|
341
382
|
*
|
|
@@ -757,4 +798,4 @@ type SkillsServiceActions = {
|
|
|
757
798
|
*/
|
|
758
799
|
type SkillsServiceContract = ServiceContract<SkillsServiceActions>;
|
|
759
800
|
|
|
760
|
-
export { type CompositionMetrics, EVAL_CASES, type EvalCase, type EvalResult, type GeneratedSkill, type ProviderComparison, type ScoreBreakdown, type SkillFrontmatter, type SkillsServiceActions, type SkillsServiceContract, analyzeComposition, calculateTotalScore, formatFrontmatter, generateAllBuilderSkills, generateAlmadarAssistantSkill, generateComparisonMatrix, generateDomainLanguageSkill, generateKflowOrbitalFixingSkill, generateKflowOrbitalsSkill, generateLeanFixingSkill$1 as generateLeanFixingSkill, generateLeanFixingSkill as generateLeanFixingSkillFull, generateLeanOrbitalSkill$1 as generateLeanOrbitalSkill, generateLeanOrbitalSkill as generateLeanOrbitalSkillFull, getArchitectureSection, getAssetRefSection, getBannedProps, getBindingContextRules, getBindingsCompact, getBindingsGuide, 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, getSubagentSystemPrompt, getThemeGuide, getUsesImportCompact, getUsesImportSection, getValidationHintsSection, writeAllSkills, writeSkill };
|
|
801
|
+
export { type CompositionMetrics, EVAL_CASES, type EvalCase, type EvalResult, type GeneratedSkill, type ProviderComparison, type ScoreBreakdown, type SkillFrontmatter, type SkillsServiceActions, type SkillsServiceContract, analyzeComposition, calculateTotalScore, formatFrontmatter, generateAllBuilderSkills, generateAlmadarAssistantSkill, generateComparisonMatrix, generateDomainLanguageSkill, generateKflowOrbitalFixingSkill, generateKflowOrbitalsSkill, generateLeanFixingSkill$1 as generateLeanFixingSkill, generateLeanFixingSkill as generateLeanFixingSkillFull, generateLeanOrbitalSkill$1 as generateLeanOrbitalSkill, generateLeanOrbitalSkill as generateLeanOrbitalSkillFull, generateOrbSkill, getArchitectureSection, getAssetRefSection, getBannedProps, getBindingContextRules, getBindingsCompact, getBindingsGuide, 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, getOrbRenderUIGuide, getOrbitalConnectivitySection, getOrbitalDecompositionPrompt, getOverGenerationSection, getPatternTypesCompact, getPortableOrbitalOutputSection, getRenderUIDesignGuide, getRenderUIQuickRef, getRequirementsDecomposePrompt, getRequirementsTraitPrompt, getSExprQuickRef, getSchemaUpdateCompact, getSchemaUpdateSection, getSubagentSystemPrompt, getThemeGuide, getUsesImportCompact, getUsesImportSection, getValidationHintsSection, writeAllSkills, writeSkill };
|