[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E9Z93G0ENV7C72TMCEVD5F":3,"skill-same:01M7E9Z93G0ENV7C72TMCEVD5F":43},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7E9Z93G0ENV7C72TMCEVD5F","workbook-compiler",null,"ashleybain-auto\u002Fexpansecutoverautomation","ashleybain-auto","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F318775410?v=4","01M7CWXXX7T4S6B8XF5Q29FWWF","Ashley Bain","01M7E9YV9SET2XGZXQFG0QRGEP",0,"MIT","https:\u002F\u002Fgithub.com\u002Fashleybain-auto\u002Fexpansecutoverautomation\u002Fblob\u002Fmain\u002Fskills\u002Fworkbook-compiler\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# ECCS Workbook Compiler Skill\n\n## Project\n\nSuite:\nExpanse Cutover Configuration Suite\n\nSuite Code:\nECCS\n\nFactory:\nExpanse ConfigTool Factory\n\nPublisher Prefix:\neccs\n\nRepository:\nExpanse-ConfigTool-Factory\n\n## Purpose\n\nThe Workbook Compiler converts an existing Excel VBA ConfigTool workbook\n(.xlsb or .xlsm) into a deterministic intermediate representation that can\nbe consumed by the Application Compiler.\n\nThe compiler is NOT an Excel-to-Power-Apps visual copier.\n\nIt must preserve and describe the workbook's existing functional behavior\nbefore application generation occurs.\n\nThe primary pilot inputs are:\n\n- Mapping_Expanse_REG_Domain.xlsb\n- Mapping_NonMagic_Expanse_REG_Domain.xlsb\n\nLater reference inputs include:\n\n- Mapping_Expanse_PHA_Domain.xlsb\n- Mapping_Expanse_NONMED_Domain.xlsb\n- ACOE_Expanse_ConfigTool_EdmAutomation.xlsb\n- additional ConfigTool and clinical-area mapping workbooks\n\n---\n\n# 1. Core Principle\n\nNever translate VBA line-for-line into Power Fx.\n\nTranslate workbook behavior into a normalized functional model.\n\nUse this pipeline:\n\nXLSB\u002FXLSM\n    ->\nWorkbook Inventory\n    ->\nWorksheet Model\n    ->\nVBA Model\n    ->\nSQL\u002FIntegration Model\n    ->\nFunctional Classification\n    ->\nWorkbook Intermediate Representation\n    ->\nMigration Manifest\n    ->\nApplication Compiler\n\nThe workbook is a functional source specification and regression reference.\n\nThe generated Power App is NOT the authoritative source of the original\nworkbook behavior until migration parity has been established.\n\n---\n\n# 2. Supported Workbook Types\n\nPrimary:\n\n- .xlsb\n- .xlsm\n\nSecondary if technically supported:\n\n- .xlsx\n- .xls\n\nPreserve the original filename, extension, file hash, file size, modified\ntimestamp, and ingestion timestamp.\n\nThe original source file must never be modified by the compiler.\n\nIf the workbook file fails to parse or is corrupted, halt analysis, log a PARSE_ERROR entry in warnings, and do not generate partial IR or manifest files.\n\n---\n\n# 3. Required Workbook Analysis\n\nEvery workbook submission must produce a complete inventory of:\n\n## Workbook Metadata\n\n- filename\n- extension\n- SHA-256 hash\n- file size\n- workbook properties when available\n- workbook calculation mode when available\n- hidden\u002Fprotected state where discoverable\n\n## Worksheets\n\nFor every worksheet capture:\n\n- sheet name\n- visible\u002Fhidden\u002Fvery hidden status\n- used range\n- row count\n- column count\n- header row(s)\n- data start row\n- data end row\n- merged cells\n- formulas\n- hyperlinks\n- data validation\n- named ranges associated with sheet\n- tables associated with sheet\n- likely purpose\n\nClassify sheets as one of:\n\n- instruction\n- settings\n- mapping\n- lookup\n- source data\n- target data\n- staging\n- report\n- export\n- error\n- reference\n- unknown\n\nNever silently discard a worksheet.\n\n---\n\n# 4. Column Analysis\n\nFor every column in worksheets classified as mapping, lookup, source data, target data, staging, or settings, capture the following attributes.\n\n- ordinal position\n- column name\n- display name\n- inferred data type\n- observed data types\n- null\u002Fblank frequency\n- distinct count for columns with fewer than 100,000 rows; otherwise mark as SAMPLED_ESTIMATE\n- example values\n- formula presence\n- formula pattern\n- editable\u002Fread-only estimate\n- likely key field\n- likely source field\n- likely target field\n- likely system field\n- mapping\u002Fstatus semantics\n\nRecognize common ConfigTool fields such as:\n\n- Source\n- Target\n- Source_Value\n- Target_Value\n- Match\n- TargetMatchMtx\n- DB_RecordCount\n- Active\n- Action_To_Take\n- Update_User\n- Update_Datetime\n- Settings\n- Server\n- Database\n- Environment\n\nDo not assume exact column names. Use explicit mapping metadata.\n\n---\n\n# 5. VBA Analysis\n\nExtract all accessible VBA source.\n\nAnalyze:\n\n- modules\n- module types\n- procedures\n- functions\n- parameters\n- return values\n- calls between procedures\n- worksheet references\n- range references\n- table references\n- named range references\n- SQL strings\n- ADO references\n- DAO references\n- ADODB references\n- connection creation\n- stored procedure calls\n- HTTP\u002FAPI references\n- file writes\n- SharePoint references\n- clipboard operations\n- Excel UI automation\n- form\u002Fcontrol events\n- button actions\n- error handling\n- retry logic\n- transactions where detectable\n\nUse `olevba` where appropriate for source extraction.\n\nIf olevba extraction fails or is unavailable, record an UNSUPPORTED entry for VBA analysis and continue with worksheet-level analysis rather than aborting the entire compilation.\n\nDo not execute VBA during analysis.\n\nThe compiler must treat workbook VBA as untrusted executable content.\n\n---\n\n# 6. VBA Security Rule\n\nNever execute macros automatically.\n\nThe compiler must:\n\n1. open\u002Fread workbook content without enabling macros\n2. extract VBA source statically\n3. classify suspicious or external execution behavior\n4. record any unsupported behavior\n5. require explicit developer review for execution-dependent behavior\n\nIf the workbook or VBA project is password-protected and cannot be read statically, mark the workbook as UNSUPPORTED_ENCRYPTED and record this in warnings without attempting to bypass protection.\n\nNever run:\n\n- Shell\n- WScript\n- PowerShell\n- Cmd\n- external EXE\n- embedded executable\n- arbitrary HTTP POST\n- database write\n- file deletion\n\nduring workbook analysis.\n\n---\n\n# 7. Functional Classification\n\nEvery meaningful VBA procedure, formula region, button\u002Faction, and\nworksheet behavior must be classified as one or more:\n\n- READ\n- REFRESH\n- IMPORT\n- COPY\n- STAGE\n- TRANSFORM\n- NORMALIZE\n- MATCH\n- CROSSWALK\n- VALIDATE\n- EDIT\n- SAVE\n- APPROVE\n- PUBLISH\n- EXPORT\n- REPORT\n- AUDIT\n- NAVIGATE\n- CONFIGURE\n- OTHER\n\nExamples:\n\nRefreshData_Insurance\n    -> REFRESH\n\nPushUpdates_Insurance\n    -> PUBLISH\n\nCopyData_Insurance\n    -> COPY\u002FSTAGE\n\nGenerate_Export_File_For_Sharepoint\n    -> EXPORT\n\nsettingServer\n    -> CONFIGURE\n\nsettingDB\n    -> CONFIGURE\n\n---\n\n# 8. ConfigTool Convention Detection\n\nThe analyzer must explicitly look for naming conventions such as:\n\nRefreshData_*\nPushUpdates_*\nCopyData_*\nProcessUpdate*\nSetting*\nlistDB\nlistServers\nGenerate_Export*\nLink_To_Home\nHome\nSettings\n\nTreat detected conventions as high-value evidence of intended application\nbehavior.\n\nDo not require a workbook to use these names.\n\nSupport semantic detection when naming conventions differ.\n\n---\n\n# 9. Settings Detection\n\nIdentify settings that appear to control:\n\n- server\n- database\n- environment\n- source connection\n- target connection\n- SharePoint\n- folder\u002Fpath\n- API endpoint\n- credentials reference\n- configuration mode\n\nNever place discovered usernames, passwords, tokens, or secrets into the\ngenerated migration manifest.\n\nReplace secrets with secure references such as:\n\n- CONNECTION_REFERENCE\n- SECRET_REFERENCE\n- ENVIRONMENT_VARIABLE\n- KEY_VAULT_REFERENCE\n\n---\n\n# 10. SQL Detection\n\nDetect:\n\n- SQL Server connection strings\n- database names\n- server names\n- SQL SELECT statements\n- INSERT statements\n- UPDATE statements\n- DELETE statements\n- stored procedure calls\n- temp tables\n- joins\n- WHERE filters\n- source\u002Ftarget tables\n- schema references\n- transaction blocks\n- record counts\n- active\u002Finactive logic\n\nClassify SQL operations:\n\nREAD\nWRITE\nDDL\nPROCEDURE\nUNKNOWN\n\nNever execute write SQL during workbook compilation.\n\n---\n\n# 11. API Detection\n\nDetect references to:\n\n- HTTP\n- HTTPS\n- REST\n- JSON\n- XML\n- FHIR\n- HL7\n- OpenAPI\n- API endpoints\n- bearer tokens\n- authorization headers\n- web requests\n- custom connector patterns\n\nDo not assume an API is an approved enterprise API.\n\nClassify each integration as:\n\n- known approved API\n- candidate API\n- unknown API\n- external vendor API\n- unsupported API\n\n---\n\n# 12. Mapping Model Detection\n\nA mapping worksheet should be modeled with concepts such as:\n\n- source value\n- target value\n- candidate target\n- match status\n- DB record count\n- active flag\n- exclusion\n- action\n- updated by\n- updated date\n- comments\u002Freason\n- mapping version\n\nRecognize that NO MATCH is a screening condition.\n\nNever translate NO MATCH directly into an automatic remediation instruction.\n\n---\n\n# 13. Intermediate Representation\n\nGenerate a deterministic file:\n\nworkbook-ir.json\n\nThe representation must include:\n\n{\n  \"workbook\": {},\n  \"worksheets\": [],\n  \"columns\": [],\n  \"vbaModules\": [],\n  \"procedures\": [],\n  \"sqlReferences\": [],\n  \"apiReferences\": [],\n  \"actions\": [],\n  \"mappings\": [],\n  \"settings\": [],\n  \"warnings\": [],\n  \"unsupported\": []\n}\n\nThe IR is an analysis artifact, not a Power Apps artifact.\n\n---\n\n# 14. Migration Manifest\n\nGenerate:\n\nmigration-manifest.json\n\nThe manifest is the contract consumed by the Application Compiler.\n\nIt should include at minimum:\n\n- application name\n- application code\n- source workbook\n- workbook hash\n- domains\n- pages\n- subpages\n- fields\n- actions\n- data sources\n- SQL dependencies\n- API dependencies\n- validations\n- audit requirements\n- security requirements\n- generated components\n- unresolved items\n\nExample:\n\n{\n  \"application\": {\n    \"code\": \"REG\",\n    \"name\": \"Registration\"\n  },\n  \"source\": {\n    \"workbook\": \"Mapping_Expanse_REG_Domain.xlsb\"\n  },\n  \"domains\": [],\n  \"actions\": [],\n  \"integrations\": [],\n  \"validation\": {},\n  \"audit\": {}\n}\n\n---\n\n# 15. Page Grouping Rules\n\nDo not automatically create one Power Apps screen for every worksheet.\n\nGroup related worksheets into business functional areas.\n\nExample:\n\nRegistration\n    Configuration\n        Accommodations\n        Locations\n        Services\n        Insurance\n        Room \u002F Bed\n        Financial Class\n\n    Validation\n    Publish\n    Reports\n    Audit\n\nFor PHA:\n\nPHA\n    Medication Configuration\n    MIS Configuration\n    Administration\n    Restrictions \u002F Exclusions\n    Validation\n    Publish\n    Audit\n\nGrouping must be represented in the migration manifest.\n\n---\n\n# 16. Automatic vs Manual Migration\n\nEach detected behavior must receive a migration status:\n\n- AUTO\n- REVIEW\n- UNSUPPORTED\n\nExamples:\n\nSimple SQL SELECT\n    -> AUTO\n\nStandard mapping grid\n    -> AUTO\n\nRefreshData_* routine using known SQL pattern\n    -> AUTO\n\nDynamic VBA code generation\n    -> REVIEW\n\nExcel-specific SendKeys\n    -> REVIEW or UNSUPPORTED\n\nShell command\n    -> UNSUPPORTED\n\nUnknown external executable\n    -> UNSUPPORTED\n\n---\n\n# 17. Migration Report\n\nGenerate:\n\nmigration-report.json\nmigration-report.html\n\nReport:\n\n- workbook inventory\n- worksheet inventory\n- VBA inventory\n- SQL inventory\n- API inventory\n- functional classifications\n- generated page recommendations\n- automatic conversions\n- developer review items\n- unsupported items\n- security concerns\n- assumptions\n- warnings\n\nNo generated application is considered complete if the report contains\nunresolved critical items.\n\n---\n\n# 18. Regression Baseline\n\nThe original workbook is the regression reference.\n\nCapture baseline behaviors where possible:\n\n- row counts\n- mapping results\n- refresh results\n- target matches\n- NO MATCH results\n- DB record counts\n- active status\n- action classifications\n- export counts\n- timing\n- expected outputs\n\nSave under:\n\ntests\u002Fparity\u002Fbaseline\u002F\n\nNever overwrite the baseline.\n\n---\n\n# 19. Determinism\n\nRunning the compiler against the same workbook should produce the same\nfunctional model except for explicitly recorded timestamps or generated\nIDs.\n\nThe compiler must not invent:\n\n- API endpoints\n- SQL credentials\n- target databases\n- business rules\n- mapping decisions\n- security roles\n\nWhen a fact is unavailable, mark it:\n\n\"REQUIRES_REVIEW\"\n\nrather than inventing a value.\n\n---\n\n# 20. Compiler Output\n\nFor each workbook create:\n\ngenerated\u002F\u003CToolCode>\u002F\n\nwith:\n\n- workbook-ir.json\n- migration-manifest.json\n- migration-report.json\n- migration-report.html\n- extracted-vba\u002F\n- sql-candidates\u002F\n- api-candidates\u002F\n- tests\u002F\n- warnings\u002F\n\nThe Workbook Compiler must not create a production Power Apps application\ndirectly.\n\nIts output is consumed by the Application Compiler.\n\n---\n\n# 21. Required Pilot Tests\n\n## Registration Pilot\n\nMEDITECH Expanse:\n\nTool Code:\nREG\n\nVariant:\nEXPANSE\n\nDisplay Name:\nECCS - Registration\n\nSource Workbook:\nMapping_Expanse_REG_Domain.xlsb\n\nRegistration MEDITECH:\n\n- worksheet discovery\n- column discovery\n- settings discovery\n- VBA extraction\n- refresh procedure discovery\n- push procedure discovery\n- SQL reference discovery\n- mapping field discovery\n- action field discovery\n- audit field discovery\n\nNon-Magic Expanse:\n\nTool Code:\nREG\n\nVariant:\nNONMAGIC\n\nDisplay Name:\nECCS - Non-Magic Registration\n\nSource Workbook:\nMapping_NonMagic_Expanse_REG_Domain.xlsb\n\nRegistration Non-Magic:\n\nRepeat all tests.\n\nThe second workbook is a required factory-repeatability test.\n\n---\n\n# 22. Exit Criteria\n\nWorkbook Compiler is considered complete for pilot use when:\n\n1. Both Registration workbooks are analyzed without modifying them.\n2. All worksheets are accounted for.\n3. All accessible VBA procedures are cataloged.\n4. Refresh and push actions are identified.\n5. Settings\u002Fconfiguration references are identified.\n6. SQL dependencies are identified.\n7. Mapping fields are identified.\n8. Functional behavior is represented in the IR.\n9. A migration manifest is generated.\n10. Critical unresolved items are explicitly reported.\n11. Baseline regression artifacts are stored.\n12. The same compiler code can process both Registration workbooks.\n\n---\n\n# 23. Non-Goals\n\nThe Workbook Compiler must not:\n\n- execute VBA\n- modify the input workbook\n- publish SQL changes\n- call production APIs\n- deploy Power Apps\n- invent mappings\n- invent credentials\n- bypass security review\n- automatically approve business changes\n\nIts purpose is analysis, normalization, classification, and generation of\na deterministic application specification.\n",{},"main","def52a606158d54306fc56002216f05c23a08637","skills\u002Fworkbook-compiler",1,"https:\u002F\u002Fgithub.com\u002Fashleybain-auto\u002Fexpansecutoverautomation","https:\u002F\u002Fgithub.com\u002Fashleybain-auto","2026-10-24 03:27:16",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add ashleybain-auto\u002Fexpansecutoverautomation --skill workbook-compiler",{"tool":35,"command":36},"bunx","bunx skills add ashleybain-auto\u002Fexpansecutoverautomation --skill workbook-compiler",{"tool":38,"command":39},"pnpm","pnpm dlx skills add ashleybain-auto\u002Fexpansecutoverautomation --skill workbook-compiler","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fashleybain-auto\u002Fexpansecutoverautomation\u002Fblob\u002Fmain\u002Fskills\u002Fworkbook-compiler\u002FSKILL.md",true,[],[44,50,56,63,69],{"skillNo":45,"name":46,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":47,"categories":48,"keywords":49,"publishedAt":18},"01M7E9Z42PZMDSGSYSR9FQT13F","application-compiler","https:\u002F\u002Fgithub.com\u002Fashleybain-auto\u002Fexpansecutoverautomation\u002Fblob\u002Fmain\u002Fskills\u002Fapplication-compiler\u002FSKILL.md",[],[],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7E9Z2J70ERP9YPJ8P5SCKMP","skills","https:\u002F\u002Fgithub.com\u002Fashleybain-auto\u002Fexpansecutoverautomation\u002Fblob\u002Fmain\u002Fskills\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M7E9Z0HPG6R20T3Z8NMCGAQR","githubskill","Describe what this skill does and when to use it. Include keywords that help agents identify relevant tasks.","https:\u002F\u002Fgithub.com\u002Fashleybain-auto\u002Fexpansecutoverautomation\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgithubskill\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7E9YZ2FRY50YT5N6ZSCW4FP","githubrepositorydiscovery","https:\u002F\u002Fgithub.com\u002Fashleybain-auto\u002Fexpansecutoverautomation\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgithubrepositorydiscovery\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M7E9YXSP1YBQZHP3CFTAXYP8","agentskills","https:\u002F\u002Fgithub.com\u002Fashleybain-auto\u002Fexpansecutoverautomation\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagentskills\u002FSKILL.md",[],[]]