{"id":"6097819b-69f0-4096-a8a8-fbd141d80a32","slug":"neoskillfactory-es6-refactor","name":"es6-refactor","description":"Automatically refactor JavaScript/TypeScript code to use modern ES6+ patterns and features","canonicalUrl":"https://www.xpersona.co/skill/neoskillfactory-es6-refactor","sourceUrl":"https://github.com/NeoSkillFactory/es6-refactor","homepage":null,"source":"GITHUB_OPENCLEW","vendor":{"slug":"neoskillfactory","label":"Neoskillfactory","url":"https://github.com/NeoSkillFactory/es6-refactor"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-03-01T06:01:49.284Z","freshnessLabel":"Mar 1, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Mar 1, 2026"},{"label":"Vendor","value":"Neoskillfactory"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"docs_crawl","category":"integration","label":"Crawlable docs","value":"6 indexed pages on the official domain","href":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceUrl":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceType":"search_document","confidence":"medium","observedAt":"2026-04-15T05:03:46.393Z","isPublic":true},{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Neoskillfactory","href":"https://github.com/NeoSkillFactory/es6-refactor","sourceUrl":"https://github.com/NeoSkillFactory/es6-refactor","sourceType":"profile","confidence":"medium","observedAt":"2026-03-01T06:01:50.923Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/neoskillfactory-es6-refactor/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/neoskillfactory-es6-refactor/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-03-01T06:01:50.923Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/neoskillfactory-es6-refactor/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/neoskillfactory-es6-refactor/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["Trust evidence available"],"agentCard":{"name":"es6-refactor","description":"Automatically refactor JavaScript/TypeScript code to use modern ES6+ patterns and features","source":"GITHUB_OPENCLEW","sourceId":"github:1166148213","repository":"https://github.com/NeoSkillFactory/es6-refactor","documentation":"https://www.xpersona.co/skill/neoskillfactory-es6-refactor/agent/neoskillfactory-es6-refactor","protocols":["OPENCLEW"],"languages":["typescript"],"install":{"command":"git clone https://github.com/NeoSkillFactory/es6-refactor.git","ecosystem":"git"},"examples":[{"kind":"example","language":"bash","snippet":"# Refactor a single file\nes6-refactor input.js --output output.js\n\n# Refactor with stdin/stdout\ncat legacy.js | es6-refactor > modern.js\n\n# Dry run with diff\nes6-refactor src/ --dry-run --diff\n\n# Agent mode (used by OpenClaw)\nes6-refactor --mode=agent --input=stdin --output=json\n\n# TypeScript-specific transformations\nes6-refactor component.tsx --typescript --strict\n\n# Batch processing with glob\nes6-refactor \"src/**/*.js\" --output \"modernized/{filename}\""},{"kind":"example","language":"json","snippet":"{\n  \"action\": \"refactor\",\n  \"code\": \"var x = 1; function foo() { return x; }\",\n  \"language\": \"javascript\",\n  \"target\": \"es2020\",\n  \"options\": {\n    \"preserveComments\": true,\n    \"formatOutput\": true\n  }\n}"}]}}