-
Notifications
You must be signed in to change notification settings - Fork 1
Agent Legacy Specialist
Oak Dev-inter edited this page Apr 23, 2026
·
1 revision
Navigate and modify legacy codebases (ZF1, old Rails, Vue 2, PHP 5.x, no-test code) without breaking them.
- Project uses ancient framework (Zend Framework 1, CodeIgniter, Rails 3, Vue 2)
- PHP 5.x / 7.x codebase with mixed conventions
- No test suite exists and SOTA tools keep hallucinating modern syntax
- Template engine is Smarty / ERB / custom
- Non-English comments or mixed conventions in source
- Main agent or Agent-Code-Reviewer suggests "modernize" β route here instead to preserve legacy style
- Detects exact versions from
composer.json/package.jsonand framework fingerprints - Reads surrounding files to learn custom helpers (
__get,__call, autoloaders), template engine, and error-handling pattern - Copies existing patterns instead of inventing new ones
- Matches legacy style even when ugly (raw SQL via Zend_Db, manual escaping,
!important+ scoped class) - Checks
php -v/ runtime version before using any newer syntax
- Suggest framework upgrade unless explicitly asked
- Introduce modern syntax (arrow functions, type hints,
async/await) in codebases that don't use it - Pull patterns from StackOverflow over in-project source
- Swap the ORM or templating engine as a drive-by
- Target file or module
- Task: patch / feature add / bug fix within legacy scope
- Any known version pins or framework quirks
Patch with stack context header:
Detected: <framework + runtime + UI lib>
Convention: <error handling, query style, escaping>
Patch: <code matching existing style>
No tier pinning in spec. Typically Sonnet; escalate to Opus when legacy quirks span many files.
- β "Let's use Eloquent ORM" on a ZF1 project
- β Arrow functions in a PHP 5.x project
- β Type hints in a codebase that doesn't use them
- β
async/awaitin a callback-style codebase
Introduced pre-v0.9.1 (early release). Kasidit's differentiator vs SOTA tools.
Repo β’ Discussions β’ Issues β’ Changelog β’ Security β’ Contributing β’ MIT β’ Β© Kasidit Wansudon
Kasidit
Core
- Commands
- Kasi-Mode π₯ v0.10
- Backend-Hooks π₯ v0.10
- Model Tiers
- Gravity Pattern
- Multi-Agent-Orchestration
- Claude Design Integration
- UI Override Mode
- FAQ
Version History
- Version History β overview
- v0.13.0 β thClaws (Consolidated) π¦
- v0.12.0 β thClaws Runtime Support π¦
- v0.11.0 β Backend + Bridge + Runbook π
- v0.10.0 β Mode + Backend Hooks
- v0.9.2 β Gravity
- v0.9.1 β Master Orchestrator
- v0.9.0 β Claude Design
- v0.8.0 β Tier Cascade
- v0.7.4 β SWE-bench
- v0.3.0 β Tier adaptation
- v0.2.1 β Docs protocol
- v0.2.0 β UI Override
- v0.1.0 β Core
Concepts
Commands
- Kasi-Init
- Kasi-Review
- Kasi-Security
- Kasi-Fix
- Kasi-Ui
- Kasi-Cascade
- Kasi-Multi
- Kasi-Scaffold
- Kasi-Docs
- Kasi-Status
- Kasi-Promote
- Kasi-Pull
- Kasi-Sync
- Kasi-Search
- Kasi-Wiki-Sync
Agents
- Agent-Architect-Planner
- Agent-Audit-Specialist π₯ v0.10
- Agent-Bug-Hunter
- Agent-Deep-Researcher
- Agent-Legacy-Specialist
- Agent-Migration-Specialist
- Agent-Refactor-Surgeon
- Agent-Test-Writer
Deprecated v0.10 (stubs β audit-specialist --focus=..., removed in v0.11)
-
Agent-Code-Reviewer β
--focus=quality -
Agent-Security-Auditor β
--focus=security -
Agent-Perf-Profiler β
--focus=perf