wps-core-api

Installation
SKILL.md

全局变量

  • Application / app:WPS 应用对象
  • ActiveWorkbookwb):当前工作簿
  • ActiveSheetws):当前活动工作表
  • Selection:当前选区

辅助函数(所有代码顶部必须定义)

function CL(c){var s="";while(c>0){c--;s=String.fromCharCode(65+(c%26))+s;c=Math.floor(c/26);}return s;}
function _n(v){return (v===null||v===undefined||isNaN(v))?0:Number(v);}
function toM(v){return _n(v)/1e6;}

核心 API(同步执行,非 Excel.run 模式)

Installs
1
GitHub Stars
1
First Seen
Jun 11, 2026
wps-core-api — claude-office-skills/claude-office-plugin