spreadsheet-audit-edit-validate
하는 일
이 워크플로는 AI 에이전트가 잘못된 파일이나 시트를 편집하지 않고 Excel 통합 문서를 바꾸거나 만들도록 돕습니다. 비슷한 스프레드시트가 여러 개 있어서 올바른 파일을 업데이트해야 하는 사람을 위한 것입니다.
사용하는 경우
- ✓기존 통합 문서를 바꿔야 하는데 디스크에서 파일 경로를 찾아야 할 때.
- ✓비슷한 Excel 파일이 여러 개 있어 잘못된 파일을 편집할 수도 있을 때.
- ✓완성된 통합 문서가 필요한 탭, 열, 개수와 맞아야 할 때.
스킬 링크
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/spreadsheet-audit-edit-validate/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 파일 중에서 올바른 월간 보고서 통합 문서를 찾고, 이번 달 열을 추가한 뒤 탭과 개수가 여전히 맞는지 확인해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 작업 공간에서 후보 통합 문서를 검색하고 대상이 맞는지 확인합니다. 편집 전에 구조를 점검하고, 올바른 시트에 변경을 쓰고, 저장된 파일이 필요한 시트, 열, 개수와 맞는지 검증합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Spreadsheet Audit Edit Validate
Use this workflow whenever you need to modify or generate an Excel workbook and the task depends on matching an expected workbook structure. The goal is to avoid editing the wrong file, writing into the wrong sheet, or delivering a workbook that does not satisfy the user's required tabs, columns, or counts. Use this workflow whenever you need to create or modify an Excel workbook and the task depends on matching an expected workbook structure. The goal is to avoid editing the wrong file, writing into the wrong sheet, or delivering a workbook that does not satisfy the user's required tabs, columns, or counts.
Important: This workflow has two distinct modes depending on the task type:
| Task Type | Pre-edit Audit | Post-write Validation |
|---|---|---|
| Modify existing workbook | Full audit required (Phases 1-2) | Full validation required (Phase 4) |
| Create new workbook from source/reference data | Skip pre-edit audit (no existing file to audit) | Full validation required (Phase 4) |
This is a workflow skill, not a tool-specific recipe. Apply it with any spreadsheet-capable tooling.
When to use
Use this workflow when:
- You are modifying an existing workbook AND the workbook path is uncertain or must be discovered from the filesystem
- The workbook path is uncertain or must be discovered from the filesystem
- Multiple similar
.xlsxor.xlsmfiles may exist - The user specifies required sheet names, row counts, sample counts, or populated columns
- A silent structure mismatch would cause downstream errors
Before proceeding, determine which workflow mode applies:
Mode A: Modify existing workbook - Use the full workflow (all phases) when there is an existing workbook file that must be updated in place, the user references an existing file, or the task requires preserving existing data/formulas/formatting.
Mode B: Create new workbook from source/reference data - Skip Phase 1 (locate) and Phase 2 (pre-edit audit) when the task requires generating a new workbook from scratch, source data exists elsewhere but the target workbook does not exist, or the user asks to "create", "generate", or "build" a report. Phase 4 (post-write validation) is still MANDATORY for create mode.
Core principle
For modify-existing mode: Never write first.
For create-new mode: You must create the file, but validate thoroughly after creation.
Always perform three phases in order:
- Find candidate workbook files
- Verify workbook structure before editing
- Validate the saved workbook against the user specification
Note: For create-new mode, skip directly to Phase 3 (create), then perform Phase 4 (validation). Phase 4 is mandatory for all modes.
If any check fails, stop and resolve the mismatch before continuing.
Workspace-path anchoring rule
All spreadsheet operations must be anchored to the exact workspace path provided for the task.
For modify-existing mode: Discovery, inspection, editing, and validation must use the anchored path
For create-new mode: The output path must be under the anchored workspace; validate the created file from that path
Treat the provided workspace path as the authoritative root for all file operations
Resolve the selected workbook to an exact path under that workspace before editing
Do not switch to a different directory, fallback path, temp copy, or similarly named workbook unless the user explicitly authorizes it
If a delegated tool reports a workbook path, independently verify that exact path from the current workspace before trusting the result
If the workbook cannot be found at the anchored workspace path, stop rather than guessing
Workflow
Phase 1: Locate candidate Excel files
Search the filesystem broadly enough to find plausible workbooks, then narrow to the file most likely intended by the user.
What to look for
Search for:
.xlsx.xlsm.xls- files whose names resemble the user request
- recently modified files
- files inside likely project/output/data directories
Selection heuristics
Prefer files that:
- Match names mentioned by the user
- Are in the working directory or attached-data area
- Have expected modification dates
- Contain sheet names matching the task
- Have row/column structure consistent with the requested operation
If several files are plausible, inspect them all before choosing.
Minimum evide
자주 묻는 질문
에이전트는 올바른 파일을 어떻게 고르나요?
작업 공간에서 후보 파일을 찾고, 편집 전에 구조로 대상을 확인합니다.
새 파일일 때도 워크플로가 달라지나요?
네, 새 통합 문서에서는 수정 전 점검을 건너뛰지만 작성 후 검증은 그대로 진행합니다.
검증은 무엇을 확인하나요?
쓰기 후 필요한 시트, 채워진 열, 샘플 개수를 확인합니다.
상세 정보
작성자의 원본 설명
Safely update Excel workbooks by first locating candidate files, verifying workbook structure before editing, and running post-write validation against required sheets, populated columns, and sample counts.
repo: HKUDS/AgentPilot
인기도
- GitHub 스타
- 7.8k
- 순위
- #13007
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
agentpilot
7.8k작업을 준비하고 AgentPilot 루프를 실행해 변경을 제안, 테스트, 점수화하면서 프로젝트를 단계적으로 개선하도록 돕습니다.
openspace
7.8k에이전트 스킬을 저장하고 가져오는 도구인 OpenSpace를 설정하고, MCP를 통해 AI 앱에 연결하도록 돕습니다.
rsi-arena
7.8kAIME나 Terminal-Bench 같은 표준 AI 벤치마크 테스트를 설정하고 실행해 서로 다른 개선 방법을 비교하도록 돕습니다.
experiment-guide
7.8k프로그램을 개선하는 방법을 조사하면서 작은 실험을 계획하고, 결과를 읽고, 발견 사항을 기록하도록 돕습니다.
비슷한 스킬
feishu-doc
394k에이전트가 문서 도구를 사용해 텍스트, 이미지, 표를 포함한 Feishu 클라우드 문서를 읽고, 만들고, 편집하도록 돕습니다.
feishu-drive
394k에이전트가 봇과 공유된 Feishu 클라우드 폴더의 파일을 찾아보고, 정리하고, 댓글을 달도록 돕습니다.
feishu-perm
394k에이전트가 요청을 충족하는 가장 작은 권한을 골라, Feishu 파일에 누가 접근할 수 있는지 확인하고 바꾸도록 돕습니다.