一键导入
legacy-modernization
Modernize legacy applications and codebases. Use for COBOL conversion, framework upgrades, and technical debt reduction.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Modernize legacy applications and codebases. Use for COBOL conversion, framework upgrades, and technical debt reduction.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
WCAG compliance checking and accessibility improvements. Use for auditing websites, fixing a11y issues, and implementing inclusive design.
Android development patterns for Kotlin/Java including MediaProjection, Accessibility Service, Socket.IO, and foreground services. Use when working on TitanMirror or other Android projects.
Design RESTful APIs with proper routes, validation, error handling, and documentation. Use when building backend services for PSI Engine or other server applications.
Automate browser interactions including form filling, clicking, typing, navigation, and screenshot capture. Use this skill when testing web apps, automating uploads, or validating UI on TikTok, YouTube, or other web platforms.
Build Chrome Extensions with Manifest V3, background service workers, content scripts, and message passing. Use when developing TikTok Uploader extension or any browser extensions.
Automated CI/CD pipeline setup with GitHub Actions, deployment strategies, and automation workflows. Use for build automation, testing, and deployment.
| name | legacy-modernization |
| description | Modernize legacy applications and codebases. Use for COBOL conversion, framework upgrades, and technical debt reduction. |
1. Create new service alongside legacy
2. Route new features to modern service
3. Gradually migrate existing features
4. Eventually retire legacy system
// Legacy API returns old format
const legacyResponse = await legacyApi.getUser(id);
// { usr_id: 1, usr_nm: 'John', usr_email: 'john@example.com' }
// Transform to modern format
const modernUser = {
id: legacyResponse.usr_id,
name: legacyResponse.usr_nm,
email: legacyResponse.usr_email
};
// ES5 → ES6+
// var → const/let
var name = 'John'; // ❌
const name = 'John'; // ✅
// function → arrow
function add(a, b) { return a + b; } // Old
const add = (a, b) => a + b; // Modern
// Callback → Promise → Async/Await
// Callback
getData(function(err, data) { ... });
// Promise
getData().then(data => ...).catch(err => ...);
// Async/Await
const data = await getData();
// jQuery
$('.button').click(function() { ... });
$('#result').html(data);
// Vanilla JS
document.querySelector('.button').addEventListener('click', () => { ... });
document.getElementById('result').innerHTML = data;
// Class Component
class Counter extends Component {
state = { count: 0 };
componentDidMount() { ... }
render() { return <div>{this.state.count}</div>; }
}
// Functional + Hooks
function Counter() {
const [count, setCount] = useState(0);
useEffect(() => { ... }, []);
return <div>{count}</div>;
}
| From | To | Strategy |
|---|---|---|
| SQL Server | PostgreSQL | pg_chameleon |
| MySQL | PostgreSQL | pgloader |
| Oracle | PostgreSQL | ora2pg |
| MongoDB → SQL | Prisma | Custom scripts |