{"id":"501782cc-80eb-4e8f-b32b-416776492d6f","shortId":"tQsL8X","kind":"skill","title":"code-generation","tagline":"Write clean, correct, production-quality TypeScript code.","description":"# Code Generation\n\nYou write clean, correct, production-quality TypeScript code.\n\n## Standards\n\n- Write strict TypeScript - no `any`, no type assertions unless unavoidable\n- Use descriptive names that make the code self-documenting\n- Keep functions small and focused on a single task\n- Handle errors explicitly with meaningful messages\n- Validate inputs at system boundaries, trust internal code\n- Group imports: node stdlib, third-party, local\n- Prefer immutable data and pure functions where practical\n\n## Approach\n\nWhen writing code:\n\n1. Understand the interface contract - what goes in, what comes out\n2. Write the types first\n3. Implement the happy path\n4. Add error handling for realistic failure modes\n5. Keep it simple - three similar lines beat a premature abstraction\n\n## Constraints\n\n- No unnecessary dependencies - use the standard library when it suffices\n- No over-engineering - solve the current problem, not hypothetical future ones\n- No dead code - if it is not used, it does not exist\n- Test what matters - business logic and edge cases, not implementation details","tags":["code","generation","skillfold","byronxlg","agent-framework","agent-skills","ai-agents","claude-code","compiler","multi-agent","orchestrator","pipeline"],"capabilities":["skill","source-byronxlg","skill-code-generation","topic-agent-framework","topic-agent-skills","topic-ai-agents","topic-claude-code","topic-compiler","topic-multi-agent","topic-orchestrator","topic-pipeline","topic-skill-composition","topic-typescript","topic-yaml"],"categories":["skillfold"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/byronxlg/skillfold/code-generation","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add byronxlg/skillfold","source_repo":"https://github.com/byronxlg/skillfold","install_from":"skills.sh"}},"qualityScore":"0.453","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 6 github stars · SKILL.md body (1,082 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:14:27.240Z","embedding":null,"createdAt":"2026-05-18T13:22:07.890Z","updatedAt":"2026-05-18T19:14:27.240Z","lastSeenAt":"2026-05-18T19:14:27.240Z","tsv":"'1':87 '2':98 '3':103 '4':108 '5':116 'abstract':126 'add':109 'approach':83 'assert':31 'beat':123 'boundari':63 'busi':165 'case':169 'clean':5,16 'code':2,11,12,22,40,66,86,152 'code-gener':1 'come':96 'constraint':127 'contract':91 'correct':6,17 'current':144 'data':77 'dead':151 'depend':130 'descript':35 'detail':172 'document':43 'edg':168 'engin':141 'error':54,110 'exist':161 'explicit':55 'failur':114 'first':102 'focus':48 'function':45,80 'futur':148 'generat':3,13 'goe':93 'group':67 'handl':53,111 'happi':106 'hypothet':147 'immut':76 'implement':104,171 'import':68 'input':60 'interfac':90 'intern':65 'keep':44,117 'librari':134 'line':122 'local':74 'logic':166 'make':38 'matter':164 'meaning':57 'messag':58 'mode':115 'name':36 'node':69 'one':149 'over-engin':139 'parti':73 'path':107 'practic':82 'prefer':75 'prematur':125 'problem':145 'product':8,19 'production-qu':7,18 'pure':79 'qualiti':9,20 'realist':113 'self':42 'self-docu':41 'similar':121 'simpl':119 'singl':51 'skill' 'skill-code-generation' 'small':46 'solv':142 'source-byronxlg' 'standard':23,133 'stdlib':70 'strict':25 'suffic':137 'system':62 'task':52 'test':162 'third':72 'third-parti':71 'three':120 'topic-agent-framework' 'topic-agent-skills' 'topic-ai-agents' 'topic-claude-code' 'topic-compiler' 'topic-multi-agent' 'topic-orchestrator' 'topic-pipeline' 'topic-skill-composition' 'topic-typescript' 'topic-yaml' 'trust':64 'type':30,101 'typescript':10,21,26 'unavoid':33 'understand':88 'unless':32 'unnecessari':129 'use':34,131,157 'valid':59 'write':4,15,24,85,99","prices":[{"id":"dc6f8ae2-6bdf-49b2-8a61-52ce2b524937","listingId":"501782cc-80eb-4e8f-b32b-416776492d6f","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"byronxlg","category":"skillfold","install_from":"skills.sh"},"createdAt":"2026-05-18T13:22:07.890Z"}],"sources":[{"listingId":"501782cc-80eb-4e8f-b32b-416776492d6f","source":"github","sourceId":"byronxlg/skillfold/code-generation","sourceUrl":"https://github.com/byronxlg/skillfold/tree/main/skills/code-generation","isPrimary":false,"firstSeenAt":"2026-05-18T13:22:07.890Z","lastSeenAt":"2026-05-18T19:14:27.240Z"}],"details":{"listingId":"501782cc-80eb-4e8f-b32b-416776492d6f","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"byronxlg","slug":"code-generation","github":{"repo":"byronxlg/skillfold","stars":6,"topics":["agent-framework","agent-skills","ai-agents","claude-code","compiler","multi-agent","orchestrator","pipeline","skill-composition","typescript","yaml"],"license":"mit","html_url":"https://github.com/byronxlg/skillfold","pushed_at":"2026-05-02T04:13:05Z","description":"Configuration language and compiler for multi-agent AI pipelines. Compiles YAML config into standard SKILL.md files.","skill_md_sha":"8a23afbe06dda8aee746443d1bcf38bb914e5c05","skill_md_path":"skills/code-generation/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/byronxlg/skillfold/tree/main/skills/code-generation"},"layout":"multi","source":"github","category":"skillfold","frontmatter":{"name":"code-generation","description":"Write clean, correct, production-quality TypeScript code."},"skills_sh_url":"https://skills.sh/byronxlg/skillfold/code-generation"},"updatedAt":"2026-05-18T19:14:27.240Z"}}