Le SKILL.md ci-dessous est reproduit depuis
KunAgent/Kun (commit
e641184) sous licence
MIT. Le texte est inchangé ; seules les métadonnées d’en-tête du fichier sont omises, les images sont affichées sous forme de liens et les fichiers très longs sont tronqués. Copyright 2026 KunAgent. Licence :
resources/bundled-skills/office-editor/LICENSE.txt. Seul le fichier d’instructions est affiché ; consultez le dépôt d’origine pour les éventuels scripts.
Office Editor
Copyright (c) 2026 KunAgent. Licensed under the MIT License.
Purpose
Inspect and atomically edit existing DOCX, XLSX, and PPTX files with hash-protected structured operations.
Tool routing
| Tool or skill |
Use |
office_inspect |
Inspect source structure and obtain SHA-256. |
office_edit |
Apply atomic validated operations. |
office_preview |
Preview the edited result. |
slides skill |
New decks, rebuilt decks, or presentation work beyond bounded structural edits. |
Workflow
- Identify the file format and exact requested changes.
- Inspect the file and capture the current source SHA-256.
- Translate the request into the smallest structured operation batch.
- Apply with expectedSha256.
- Validate and preview the result.
Completion gates
- Never edit from a stale hash.
- Preserve unrelated content and relationships.
- For presentations, switch to the
slides skill (PPTD source plus ppt_preview / ppt_export) whenever the task is building or redesigning a deck rather than a bounded Office patch.
Boundaries
- Do not use binary search-and-replace on Office packages.
- Do not suppress OpenXML validation failures.
Delivery
Lead with the outcome, name the evidence used for verification, and disclose any real limitation that remains.
Voir le texte intégral de la licence (MIT)
MIT License
Copyright (c) 2026 KunAgent
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.