{"id":"6f272291-6f23-46e9-a678-75e1e0b1cfa3","shortId":"6QG9Qx","kind":"skill","title":"php-pro","tagline":"'Write idiomatic PHP code with generators, iterators, SPL data","description":"## Use this skill when\n\n- Working on php pro tasks or workflows\n- Needing guidance, best practices, or checklists for php pro\n\n## Do not use this skill when\n\n- The task is unrelated to php pro\n- You need a different domain or tool outside this scope\n\n## Instructions\n\n- Clarify goals, constraints, and required inputs.\n- Apply relevant best practices and validate outcomes.\n- Provide actionable steps and verification.\n- If detailed examples are required, open `resources/implementation-playbook.md`.\n\nYou are a PHP expert specializing in modern PHP development with focus on performance and idiomatic patterns.\n\n## Focus Areas\n\n- Generators and iterators for memory-efficient data processing\n- SPL data structures (SplQueue, SplStack, SplHeap, ArrayObject)\n- Modern PHP 8+ features (match expressions, enums, attributes, constructor property promotion)\n- Type system mastery (union types, intersection types, never type, mixed type)\n- Advanced OOP patterns (traits, late static binding, magic methods, reflection)\n- Memory management and reference handling\n- Stream contexts and filters for I/O operations\n- Performance profiling and optimization techniques\n\n## Approach\n\n1. Start with built-in PHP functions before writing custom implementations\n2. Use generators for large datasets to minimize memory footprint\n3. Apply strict typing and leverage type inference\n4. Use SPL data structures when they provide clear performance benefits\n5. Profile performance bottlenecks before optimizing\n6. Handle errors with exceptions and proper error levels\n7. Write self-documenting code with meaningful names\n8. Test edge cases and error conditions thoroughly\n\n## Output\n\n- Memory-efficient code using generators and iterators appropriately\n- Type-safe implementations with full type coverage\n- Performance-optimized solutions with measured improvements\n- Clean architecture following SOLID principles\n- Secure code preventing injection and validation vulnerabilities\n- Well-structured namespaces and autoloading setup\n- PSR-compliant code following community standards\n- Comprehensive error handling with custom exceptions\n- Production-ready code with proper logging and monitoring hooks\n\nPrefer PHP standard library and built-in functions over third-party packages. Use external dependencies sparingly and only when necessary. Focus on working code over explanations.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.","tags":["php","pro","antigravity","awesome","skills","sickn33","agent-skills","agentic-skills","ai-agent-skills","ai-agents","ai-coding","ai-workflows"],"capabilities":["skill","source-sickn33","skill-php-pro","topic-agent-skills","topic-agentic-skills","topic-ai-agent-skills","topic-ai-agents","topic-ai-coding","topic-ai-workflows","topic-antigravity","topic-antigravity-skills","topic-claude-code","topic-claude-code-skills","topic-codex-cli","topic-codex-skills"],"categories":["antigravity-awesome-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/sickn33/antigravity-awesome-skills/php-pro","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add sickn33/antigravity-awesome-skills","source_repo":"https://github.com/sickn33/antigravity-awesome-skills","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 34616 github stars · SKILL.md body (2,679 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-04-23T00:51:23.484Z","embedding":null,"createdAt":"2026-04-18T21:42:22.739Z","updatedAt":"2026-04-23T00:51:23.484Z","lastSeenAt":"2026-04-23T00:51:23.484Z","tsv":"'1':167 '2':179 '3':189 '4':197 '5':208 '6':214 '7':223 '8':119,232 'action':71 'advanc':139 'appli':63,190 'approach':166 'appropri':249 'architectur':266 'area':100 'arrayobject':116 'ask':368 'attribut':124 'autoload':282 'benefit':207 'best':26,65 'bind':145 'bottleneck':211 'boundari':376 'built':171,313 'built-in':170,312 'case':235 'checklist':29 'clarif':370 'clarifi':57 'clean':265 'clear':205,343 'code':7,228,244,271,287,300,332 'communiti':289 'compliant':286 'comprehens':291 'condit':238 'constraint':59 'constructor':125 'context':155 'coverag':257 'criteria':379 'custom':177,295 'data':12,108,111,200 'dataset':184 'depend':323 'describ':347 'detail':76 'develop':91 'differ':49 'document':227 'domain':50 'edg':234 'effici':107,243 'enum':123 'environ':359 'environment-specif':358 'error':216,221,237,292 'exampl':77 'except':218,296 'expert':86,364 'explan':334 'express':122 'extern':322 'featur':120 'filter':157 'focus':93,99,329 'follow':267,288 'footprint':188 'full':255 'function':174,315 'generat':9,101,181,246 'goal':58 'guidanc':25 'handl':153,215,293 'hook':306 'i/o':159 'idiomat':5,97 'implement':178,253 'improv':264 'infer':196 'inject':273 'input':62,373 'instruct':56 'intersect':133 'iter':10,103,248 'larg':183 'late':143 'level':222 'leverag':194 'librari':310 'limit':335 'log':303 'magic':146 'manag':150 'masteri':130 'match':121,344 'meaning':230 'measur':263 'memori':106,149,187,242 'memory-effici':105,241 'method':147 'minim':186 'miss':381 'mix':137 'modern':89,117 'monitor':305 'name':231 'namespac':280 'necessari':328 'need':24,47 'never':135 'oop':140 'open':80 'oper':160 'optim':164,213,260 'outcom':69 'output':240,353 'outsid':53 'packag':320 'parti':319 'pattern':98,141 'perform':95,161,206,210,259 'performance-optim':258 'permiss':374 'php':2,6,19,31,44,85,90,118,173,308 'php-pro':1 'practic':27,66 'prefer':307 'prevent':272 'principl':269 'pro':3,20,32,45 'process':109 'product':298 'production-readi':297 'profil':162,209 'promot':127 'proper':220,302 'properti':126 'provid':70,204 'psr':285 'psr-compliant':284 'readi':299 'refer':152 'reflect':148 'relev':64 'requir':61,79,372 'resources/implementation-playbook.md':81 'review':365 'safe':252 'safeti':375 'scope':55,346 'secur':270 'self':226 'self-docu':225 'setup':283 'skill':15,37,338 'skill-php-pro' 'solid':268 'solut':261 'source-sickn33' 'spare':324 'special':87 'specif':360 'spl':11,110,199 'splheap':115 'splqueue':113 'splstack':114 'standard':290,309 'start':168 'static':144 'step':72 'stop':366 'stream':154 'strict':191 'structur':112,201,279 'substitut':356 'success':378 'system':129 'task':21,40,342 'techniqu':165 'test':233,362 'third':318 'third-parti':317 'thorough':239 'tool':52 'topic-agent-skills' 'topic-agentic-skills' 'topic-ai-agent-skills' 'topic-ai-agents' 'topic-ai-coding' 'topic-ai-workflows' 'topic-antigravity' 'topic-antigravity-skills' 'topic-claude-code' 'topic-claude-code-skills' 'topic-codex-cli' 'topic-codex-skills' 'trait':142 'treat':351 'type':128,132,134,136,138,192,195,251,256 'type-saf':250 'union':131 'unrel':42 'use':13,35,180,198,245,321,336 'valid':68,275,361 'verif':74 'vulner':276 'well':278 'well-structur':277 'work':17,331 'workflow':23 'write':4,176,224","prices":[{"id":"a6387bcd-5bec-47d2-b0cc-a31c7735ecd6","listingId":"6f272291-6f23-46e9-a678-75e1e0b1cfa3","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"sickn33","category":"antigravity-awesome-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T21:42:22.739Z"}],"sources":[{"listingId":"6f272291-6f23-46e9-a678-75e1e0b1cfa3","source":"github","sourceId":"sickn33/antigravity-awesome-skills/php-pro","sourceUrl":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/php-pro","isPrimary":false,"firstSeenAt":"2026-04-18T21:42:22.739Z","lastSeenAt":"2026-04-23T00:51:23.484Z"}],"details":{"listingId":"6f272291-6f23-46e9-a678-75e1e0b1cfa3","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"sickn33","slug":"php-pro","github":{"repo":"sickn33/antigravity-awesome-skills","stars":34616,"topics":["agent-skills","agentic-skills","ai-agent-skills","ai-agents","ai-coding","ai-workflows","antigravity","antigravity-skills","claude-code","claude-code-skills","codex-cli","codex-skills","cursor","cursor-skills","developer-tools","gemini-cli","gemini-skills","kiro","mcp","skill-library"],"license":"mit","html_url":"https://github.com/sickn33/antigravity-awesome-skills","pushed_at":"2026-04-22T06:40:00Z","description":"Installable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.","skill_md_sha":"696f1b3b0b17d9578eb1ab1cc4fe1745e669067a","skill_md_path":"skills/php-pro/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/php-pro"},"layout":"multi","source":"github","category":"antigravity-awesome-skills","frontmatter":{"name":"php-pro","description":"'Write idiomatic PHP code with generators, iterators, SPL data"},"skills_sh_url":"https://skills.sh/sickn33/antigravity-awesome-skills/php-pro"},"updatedAt":"2026-04-23T00:51:23.484Z"}}