[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699G289JG11BE9VRFP192X1":3,"skill-same:01M699G289JG11BE9VRFP192X1":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":52,"linkOnly":53,"markdownContent":54,"markdownBody":55,"frontMatter":56,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":17,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M699G289JG11BE9VRFP192X1","planning-with-files","文件化任务规划","**USE THIS FOR COMPLEX TASKS.** Implements Manus-style file-based planning for multi-step tasks. Creates task_plan.md, findings.md, and progress.md in .agent_cache\u002F\u003Ctask-name>\u002F. Use when: implementing multiple APIs, refactoring modules, research tasks, or ANY task requiring >5 tool calls.","**用于复杂任务。** 为多步骤任务实现 Manus 风格的文件化规划。在 `.agent_cache\u002F\u003Ctask-name>\u002F` 目录下创建 `task_plan.md`、`findings.md` 和 `progress.md`。适用场景：实现多个 API、重构模块、研究任务，或任何需要超过 5 次工具调用的任务。","microsoft\u002Fsemantic-link-labs","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699FKMT63C17BFNH8WHZN2K",600,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplanning-with-files\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTBRTQXJ9T5TABNS7XP1A0","任务规划与分解","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],"planning with files","planning","with files","with","files","when","research","for","implementing","calls","progress","task","manus","modules","use","tool","refactoring","plan","cache","file","tasks","2026-11-10 10:12:30",false,"---\nname: planning-with-files\ndescription: \"**USE THIS FOR COMPLEX TASKS.** Implements Manus-style file-based planning for multi-step tasks. Creates task_plan.md, findings.md, and progress.md in .agent_cache\u002F\u003Ctask-name>\u002F. Use when: implementing multiple APIs, refactoring modules, research tasks, or ANY task requiring >5 tool calls.\"\n---\n\n# Planning with Files\n\nWork like Manus: Use persistent markdown files as your \"working memory on disk.\" This skill helps you plan, track, and checkpoint complex tasks that span multiple files, APIs, or sessions.\n\n## WHEN TO USE THIS SKILL\n\n**ALWAYS use this skill when:**\n- Task involves 3+ phases or steps\n- Implementing wrappers for multiple REST APIs\n- Migrating or refactoring code across multiple files\n- Research tasks requiring exploration\n- Any task requiring >5 tool calls\n- Work that may span multiple sessions\n- Tasks with dependencies between components\n\n**Skip this skill for:**\n- Simple questions or quick lookups\n- Single-file edits\n- Tasks completable in 1-2 tool calls\n\n---\n\n## The Core Principle\n\n```\nContext Window = RAM (volatile, limited)\nFilesystem = Disk (persistent, unlimited)\n\n-> Anything important gets written to disk.\n-> After ~50 tool calls, you FORGET original goals.\n-> Re-reading plan files keeps goals in your attention window.\n```\n\n---\n\n## File Structure\n\nAll planning files go in `.agent_cache\u002F\u003Ctask-name>\u002F`:\n\n```\n.agent_cache\u002F\n└── \u003Ctask-name>\u002F\n    ├── task_plan.md    # Phases, progress, decisions (YOUR ROADMAP)\n    ├── findings.md     # Research, discoveries, technical decisions\n    └── progress.md     # Session log, test results, files modified\n```\n\n### Naming Convention\n\n- Use lowercase with hyphens for `\u003Ctask-name>`\n- Be descriptive but concise\n- Examples:\n  - `.agent_cache\u002Fadd-admin-apis\u002F`\n  - `.agent_cache\u002Fmigrate-lakehouse-module\u002F`\n  - `.agent_cache\u002Fadd-direct-lake-functions\u002F`\n\n---\n\n## The 3-File Pattern\n\n| File | Purpose | When to Update |\n|------|---------|----------------|\n| `task_plan.md` | Phases, progress, current status | After each phase completes |\n| `findings.md` | Research, discoveries, decisions | After ANY discovery |\n| `progress.md` | Session log, test results, errors | Throughout session |\n\n---\n\n## Quick Start: Before ANY Complex Task\n\n```bash\n# 1. Create the planning directory\nmkdir -p .agent_cache\u002F\u003Ctask-name>\n\n# 2. Create all 3 files using templates below\n# 3. Re-read plan before major decisions\n# 4. Update after each phase completes\n```\n\n---\n\n## Critical Rules\n\n### Rule 1: Create Plan FIRST\nNever start a complex task without `task_plan.md`. **Non-negotiable.**\n\n### Rule 2: The 2-Action Rule\n> \"After every 2 view\u002Fsearch\u002Fexplore operations, IMMEDIATELY save key findings to files.\"\n\nThis prevents information from being lost as context grows.\n\n### Rule 3: Read Before Decide\nBefore major decisions, read the plan file. This pushes goals into your attention window.\n\n### Rule 4: Update After Act\nAfter completing any phase:\n- Mark phase status: `in_progress` -> `complete`\n- Log files created\u002Fmodified\n- Note any errors encountered\n\n### Rule 5: Log ALL Errors\nEvery error goes in the plan file. This builds knowledge and prevents repetition.\n\n### Rule 6: Never Repeat Failures\n```\nif action_failed:\n    next_action != same_action\n```\nTrack what you tried. Mutate the approach.\n\n---\n\n## The 3-Strike Error Protocol\n\n```\nATTEMPT 1: Diagnose & Fix\n  -> Read error carefully\n  -> Identify root cause\n  -> Apply targeted fix\n\nATTEMPT 2: Alternative Approach\n  -> Same error? Try different method\n  -> Different tool? Different pattern?\n  -> NEVER repeat exact same failing action\n\nATTEMPT 3: Broader Rethink\n  -> Question assumptions\n  -> Search for solutions (use github-repo-explore skill)\n  -> Consider updating the plan\n\nAFTER 3 FAILURES: Escalate to User\n  -> Explain what you tried\n  -> Share the specific error\n  -> Ask for guidance\n```\n\n---\n\n## Workflow: The Agent Loop\n\n```\n+--------------------------------------------+\n|  1. READ PLAN                              |\n|     - cat .agent_cache\u002F\u003Ctask>\u002Ftask_plan.md |\n|     - Understand current phase             |\n|     - Review goals                         |\n+--------------------------------------------+\n|  2. ANALYZE                                |\n|     - What's the next task?                |\n|     - Are there blockers?                  |\n|     - Do I have what I need?               |\n+--------------------------------------------+\n|  3. EXECUTE                                |\n|     - Perform ONE logical action           |\n|     - Write code to files                  |\n|     - Run tests                            |\n+--------------------------------------------+\n|  4. UPDATE FILES                           |\n|     - Log progress in progress.md          |\n|     - Save discoveries in findings.md      |\n|     - Update status in task_plan.md        |\n+--------------------------------------------+\n|  5. REPEAT                                 |\n|     - Read plan again before next phase    |\n+--------------------------------------------+\n```\n\n---\n\n## Template: task_plan.md\n\n```markdown\n# Task Plan: [Brief Description]\n\n## Goal\n[One clear sentence describing the end state]\n\n## Current Phase\nPhase 1\n\n## Guidelines\n\u003C!-- Project-specific constraints and references -->\n- Follow numpydoc style for docstrings\n- Use `@log` decorator for all public functions\n- Use `_base_api` helper for REST calls\n- Reference: [add-function skill](..\u002F..\u002F.claude\u002Fskills\u002Fadd-function\u002FSKILL.md)\n- Reference: [rest-api-patterns skill](..\u002F..\u002F.claude\u002Fskills\u002Frest-api-patterns\u002FSKILL.md)\n\n---\n\n## Phases\n\n### Phase 1: Requirements & Discovery\n- [ ] Understand user intent and scope\n- [ ] Identify files\u002FAPIs involved\n- [ ] Document findings in findings.md\n- **Status:** in_progress\n\n### Phase 2: Dependency Analysis\n- [ ] Map dependencies between components\n- [ ] Determine implementation order\n- [ ] Update plan with detailed tasks\n- **Status:** pending\n\n### Phase 3: Implementation\n- [ ] Implement each component in order\n- [ ] Write code following project conventions\n- [ ] Document decisions in findings.md\n- **Status:** pending\n\n### Phase 4: Testing\n- [ ] Write unit tests (see write-tests skill)\n- [ ] Run tests with `pytest -sv tests\u002F -k \u003Ctest_name>`\n- [ ] Document results in progress.md\n- **Status:** pending\n\n### Phase 5: Completion\n- [ ] Run code style checks: `black src\u002Fsempy_labs tests && flake8 src\u002Fsempy_labs tests`\n- [ ] Verify all checkboxes complete\n- [ ] Mark directory as done\n- **Status:** pending\n\n---\n\n## Errors Encountered\n| Error | Attempt | Resolution |\n|-------|---------|------------|\n|       |         |            |\n\n---\n\n## Decisions Made\n| Decision | Rationale |\n|----------|-----------|\n|          |           |\n```\n\n---\n\n## Template: findings.md\n\n```markdown\n# Findings & Decisions\n\n## Task\n[Brief description of the task]\n\n---\n\n## Requirements\n\u003C!-- Captured from user request -->\n-\n\n## Research Findings\n\u003C!-- Key discoveries during exploration -->\n\u003C!-- UPDATE AFTER EVERY 2 SEARCH\u002FEXPLORE OPERATIONS -->\n-\n\n## Code Patterns Found\n\u003C!-- Existing patterns in codebase to follow -->\n| Pattern | Location | Usage |\n|---------|----------|-------|\n|         |          |       |\n\n## Technical Decisions\n| Decision | Rationale |\n|----------|-----------|\n|          |           |\n\n## Files to Modify\n| File | Change |\n|------|--------|\n|      |        |\n\n## API\u002FFunction Inventory\n\u003C!-- For API wrapper tasks -->\n| Function | Source | Status |\n|----------|--------|--------|\n|          |        |        |\n\n## Issues Encountered\n| Issue | Resolution |\n|-------|------------|\n|       |            |\n\n## External References\n\u003C!-- Links to docs, GitHub repos, etc. -->\n-\n```\n\n---\n\n## Template: progress.md\n\n```markdown\n# Progress Log\n\n## Session: [DATE]\n\n### Phase 1: [Title]\n- **Status:** in_progress\n- **Started:** [timestamp]\n- Actions taken:\n  -\n- Files created\u002Fmodified:\n  -\n\n### Phase 2: [Title]\n- **Status:** pending\n- Actions taken:\n  -\n- Files created\u002Fmodified:\n  -\n\n---\n\n## Test Results\n| Test | Expected | Actual | Status |\n|------|----------|--------|--------|\n|      |          |        |        |\n\n---\n\n## Commands Run\n```bash\n# Useful commands executed during this session\n```\n\n---\n\n## Session Notes\n\u003C!-- Any observations, blockers, or context for next session -->\n```\n\n---\n\n## Project-Specific Patterns\n\n### For Semantic Link Labs API Wrapper Tasks\n\nWhen implementing REST API wrappers, include in findings.md:\n\n```markdown\n## API Analysis\n| API | Fabric Path | Power BI Path | Notes |\n|-----|-------------|---------------|-------|\n| list_items | \u002Fv1\u002Fworkspaces\u002F{id}\u002Fitems | \u002Fv1.0\u002Fmyorg\u002Fgroups\u002F{id}\u002F... | Paginated |\n\n## Implementation Pattern\n- Use `_base_api` helper for all REST calls\n- Use `resolve_workspace_name_and_id` for workspace resolution\n- Use `_create_dataframe` for empty DataFrame initialization\n- Return `pandas.DataFrame` for list operations\n\n## Required Decorator\n- `@log` -- Enable logging and telemetry\n\n## Function Naming\n| Prefix | Use Case |\n|--------|----------|\n| `list_` | Retrieves a collection |\n| `get_` | Retrieves a single item |\n| `create_` | Creates a new resource |\n| `update_` | Modifies existing resource |\n| `delete_` | Removes a resource |\n```\n\n### For Test Writing Tasks\n\nInclude in findings.md:\n\n```markdown\n## Test Structure\n| Type | Location |\n|------|----------|\n| Unit tests | tests\u002F |\n\n## Key Patterns\n- Use `pytest.mark.parametrize` for multiple inputs\n- Mock `_base_api` for API wrapper tests\n- Use `_create_dataframe` to verify empty DataFrame structure\n- See write-tests skill for full patterns\n```\n\n---\n\n## Completion Workflow\n\nAfter finishing all work:\n\n```bash\n# 1. Verify all checkboxes are marked complete\ngrep -c \"\\[x\\]\" .agent_cache\u002F\u003Ctask-name>\u002Ftask_plan.md\ngrep -c \"\\[ \\]\" .agent_cache\u002F\u003Ctask-name>\u002Ftask_plan.md\n\n# 2. Rename directory with [done] suffix\nmv .agent_cache\u002F\u003Ctask-name> .agent_cache\u002F\u003Ctask-name>-[done]\n```\n\n---\n\n## The 5-Question Reboot Test\n\nWhen resuming work, verify you can answer:\n\n| Question | Answer Source |\n|----------|---------------|\n| Where am I? | Current phase in task_plan.md |\n| Where am I going? | Remaining phases |\n| What's the goal? | Goal statement in plan |\n| What have I learned? | findings.md |\n| What have I done? | progress.md |\n\nIf you can't answer these, read all 3 planning files before continuing.\n\n---\n\n## Read vs Write Decision Matrix\n\n| Situation | Action | Reason |\n|-----------|--------|--------|\n| Just wrote a file | DON'T read | Content still in context |\n| After 2+ searches | Write findings NOW | Before info is lost |\n| Starting new phase | Read plan\u002Ffindings | Re-orient context |\n| Error occurred | Read relevant file | Need current state |\n| Resuming after gap | Read ALL planning files | Recover state |\n| Before major decision | Read task_plan.md | Refresh goals |\n\n---\n\n## Anti-Patterns\n\n| Don't | Do Instead |\n|-------|------------|\n| Start executing immediately | Create plan file FIRST |\n| State goals once and forget | Re-read plan before decisions |\n| Hide errors and retry silently | Log errors to plan file |\n| Stuff everything in context | Store large content in files |\n| Repeat failed actions | Track attempts, mutate approach |\n| Skip testing | Always include test tasks |\n\n---\n\n## Example: Adding Admin API Wrappers\n\n### task_plan.md\n```markdown\n# Task Plan: Add Admin Workspace APIs\n\n## Goal\nImplement wrapper functions for Fabric Admin Workspace APIs in the sempy_labs.admin module.\n\n## Current Phase\nPhase 3\n\n## Guidelines\n- Use `@log` decorator on all public functions\n- Use `_base_api` helper for REST calls\n- Reference: add-function skill, rest-api-patterns skill\n\n---\n\n## Phases\n\n### Phase 1: Requirements & Discovery\n- [x] Read Fabric Admin API documentation\n- [x] Identify workspace-related endpoints\n- [x] Document in findings.md\n- **Status:** complete\n\n### Phase 2: Dependency Analysis\n- [x] Check existing workspace implementations\n- [x] Create function inventory\n- **Status:** complete\n\n### Phase 3: Implementation\n- [x] `list_workspaces`\n- [x] `get_workspace`\n- [ ] `list_workspace_access_details`\n- [ ] `update_workspace`\n- **Status:** in_progress\n\n### Phase 4: Testing\n- [ ] Write unit tests with mocks\n- [ ] Run tests\n- **Status:** pending\n\n### Phase 5: Completion\n- [ ] Run black, flake8\n- [ ] Verify all tests pass\n- **Status:** pending\n\n---\n\n## Errors Encountered\n| Error | Attempt | Resolution |\n|-------|---------|------------|\n| Pagination not working | 1 | Need uses_pagination=True in _base_api |\n```\n\n---\n\n## Related Skills\n\n| Skill | When to Use |\n|-------|-------------|\n| [add-function](..\u002Fadd-function\u002FSKILL.md) | Adding new API wrapper functions |\n| [rest-api-patterns](..\u002Frest-api-patterns\u002FSKILL.md) | REST API implementation patterns |\n| [write-tests](..\u002Fwrite-tests\u002FSKILL.md) | Writing unit tests |\n| [code-style](..\u002Fcode-style\u002FSKILL.md) | Running linters and formatters |\n| [run-tests](..\u002Frun-tests\u002FSKILL.md) | Running pytest locally |\n| [github-repo-explore](..\u002Fgithub-repo-explore\u002FSKILL.md) | Finding reference implementations |\n","# Planning with Files\n\nWork like Manus: Use persistent markdown files as your \"working memory on disk.\" This skill helps you plan, track, and checkpoint complex tasks that span multiple files, APIs, or sessions.\n\n## WHEN TO USE THIS SKILL\n\n**ALWAYS use this skill when:**\n- Task involves 3+ phases or steps\n- Implementing wrappers for multiple REST APIs\n- Migrating or refactoring code across multiple files\n- Research tasks requiring exploration\n- Any task requiring >5 tool calls\n- Work that may span multiple sessions\n- Tasks with dependencies between components\n\n**Skip this skill for:**\n- Simple questions or quick lookups\n- Single-file edits\n- Tasks completable in 1-2 tool calls\n\n---\n\n## The Core Principle\n\n```\nContext Window = RAM (volatile, limited)\nFilesystem = Disk (persistent, unlimited)\n\n-> Anything important gets written to disk.\n-> After ~50 tool calls, you FORGET original goals.\n-> Re-reading plan files keeps goals in your attention window.\n```\n\n---\n\n## File Structure\n\nAll planning files go in `.agent_cache\u002F\u003Ctask-name>\u002F`:\n\n```\n.agent_cache\u002F\n└── \u003Ctask-name>\u002F\n    ├── task_plan.md    # Phases, progress, decisions (YOUR ROADMAP)\n    ├── findings.md     # Research, discoveries, technical decisions\n    └── progress.md     # Session log, test results, files modified\n```\n\n### Naming Convention\n\n- Use lowercase with hyphens for `\u003Ctask-name>`\n- Be descriptive but concise\n- Examples:\n  - `.agent_cache\u002Fadd-admin-apis\u002F`\n  - `.agent_cache\u002Fmigrate-lakehouse-module\u002F`\n  - `.agent_cache\u002Fadd-direct-lake-functions\u002F`\n\n---\n\n## The 3-File Pattern\n\n| File | Purpose | When to Update |\n|------|---------|----------------|\n| `task_plan.md` | Phases, progress, current status | After each phase completes |\n| `findings.md` | Research, discoveries, decisions | After ANY discovery |\n| `progress.md` | Session log, test results, errors | Throughout session |\n\n---\n\n## Quick Start: Before ANY Complex Task\n\n```bash\n# 1. Create the planning directory\nmkdir -p .agent_cache\u002F\u003Ctask-name>\n\n# 2. Create all 3 files using templates below\n# 3. Re-read plan before major decisions\n# 4. Update after each phase completes\n```\n\n---\n\n## Critical Rules\n\n### Rule 1: Create Plan FIRST\nNever start a complex task without `task_plan.md`. **Non-negotiable.**\n\n### Rule 2: The 2-Action Rule\n> \"After every 2 view\u002Fsearch\u002Fexplore operations, IMMEDIATELY save key findings to files.\"\n\nThis prevents information from being lost as context grows.\n\n### Rule 3: Read Before Decide\nBefore major decisions, read the plan file. This pushes goals into your attention window.\n\n### Rule 4: Update After Act\nAfter completing any phase:\n- Mark phase status: `in_progress` -> `complete`\n- Log files created\u002Fmodified\n- Note any errors encountered\n\n### Rule 5: Log ALL Errors\nEvery error goes in the plan file. This builds knowledge and prevents repetition.\n\n### Rule 6: Never Repeat Failures\n```\nif action_failed:\n    next_action != same_action\n```\nTrack what you tried. Mutate the approach.\n\n---\n\n## The 3-Strike Error Protocol\n\n```\nATTEMPT 1: Diagnose & Fix\n  -> Read error carefully\n  -> Identify root cause\n  -> Apply targeted fix\n\nATTEMPT 2: Alternative Approach\n  -> Same error? Try different method\n  -> Different tool? Different pattern?\n  -> NEVER repeat exact same failing action\n\nATTEMPT 3: Broader Rethink\n  -> Question assumptions\n  -> Search for solutions (use github-repo-explore skill)\n  -> Consider updating the plan\n\nAFTER 3 FAILURES: Escalate to User\n  -> Explain what you tried\n  -> Share the specific error\n  -> Ask for guidance\n```\n\n---\n\n## Workflow: The Agent Loop\n\n```\n+--------------------------------------------+\n|  1. READ PLAN                              |\n|     - cat .agent_cache\u002F\u003Ctask>\u002Ftask_plan.md |\n|     - Understand current phase             |\n|     - Review goals                         |\n+--------------------------------------------+\n|  2. ANALYZE                                |\n|     - What's the next task?                |\n|     - Are there blockers?                  |\n|     - Do I have what I need?               |\n+--------------------------------------------+\n|  3. EXECUTE                                |\n|     - Perform ONE logical action           |\n|     - Write code to files                  |\n|     - Run tests                            |\n+--------------------------------------------+\n|  4. UPDATE FILES                           |\n|     - Log progress in progress.md          |\n|     - Save discoveries in findings.md      |\n|     - Update status in task_plan.md        |\n+--------------------------------------------+\n|  5. REPEAT                                 |\n|     - Read plan again before next phase    |\n+--------------------------------------------+\n```\n\n---\n\n## Template: task_plan.md\n\n```markdown\n# Task Plan: [Brief Description]\n\n## Goal\n[One clear sentence describing the end state]\n\n## Current Phase\nPhase 1\n\n## Guidelines\n\u003C!-- Project-specific constraints and references -->\n- Follow numpydoc style for docstrings\n- Use `@log` decorator for all public functions\n- Use `_base_api` helper for REST calls\n- Reference: [add-function skill](..\u002F..\u002F.claude\u002Fskills\u002Fadd-function\u002FSKILL.md)\n- Reference: [rest-api-patterns skill](..\u002F..\u002F.claude\u002Fskills\u002Frest-api-patterns\u002FSKILL.md)\n\n---\n\n## Phases\n\n### Phase 1: Requirements & Discovery\n- [ ] Understand user intent and scope\n- [ ] Identify files\u002FAPIs involved\n- [ ] Document findings in findings.md\n- **Status:** in_progress\n\n### Phase 2: Dependency Analysis\n- [ ] Map dependencies between components\n- [ ] Determine implementation order\n- [ ] Update plan with detailed tasks\n- **Status:** pending\n\n### Phase 3: Implementation\n- [ ] Implement each component in order\n- [ ] Write code following project conventions\n- [ ] Document decisions in findings.md\n- **Status:** pending\n\n### Phase 4: Testing\n- [ ] Write unit tests (see write-tests skill)\n- [ ] Run tests with `pytest -sv tests\u002F -k \u003Ctest_name>`\n- [ ] Document results in progress.md\n- **Status:** pending\n\n### Phase 5: Completion\n- [ ] Run code style checks: `black src\u002Fsempy_labs tests && flake8 src\u002Fsempy_labs tests`\n- [ ] Verify all checkboxes complete\n- [ ] Mark directory as done\n- **Status:** pending\n\n---\n\n## Errors Encountered\n| Error | Attempt | Resolution |\n|-------|---------|------------|\n|       |         |            |\n\n---\n\n## Decisions Made\n| Decision | Rationale |\n|----------|-----------|\n|          |           |\n```\n\n---\n\n## Template: findings.md\n\n```markdown\n# Findings & Decisions\n\n## Task\n[Brief description of the task]\n\n---\n\n## Requirements\n\u003C!-- Captured from user request -->\n-\n\n## Research Findings\n\u003C!-- Key discoveries during exploration -->\n\u003C!-- UPDATE AFTER EVERY 2 SEARCH\u002FEXPLORE OPERATIONS -->\n-\n\n## Code Patterns Found\n\u003C!-- Existing patterns in codebase to follow -->\n| Pattern | Location | Usage |\n|---------|----------|-------|\n|         |          |       |\n\n## Technical Decisions\n| Decision | Rationale |\n|----------|-----------|\n|          |           |\n\n## Files to Modify\n| File | Change |\n|------|--------|\n|      |        |\n\n## API\u002FFunction Inventory\n\u003C!-- For API wrapper tasks -->\n| Function | Source | Status |\n|----------|--------|--------|\n|          |        |        |\n\n## Issues Encountered\n| Issue | Resolution |\n|-------|------------|\n|       |            |\n\n## External References\n\u003C!-- Links to docs, GitHub repos, etc. -->\n-\n```\n\n---\n\n## Template: progress.md\n\n```markdown\n# Progress Log\n\n## Session: [DATE]\n\n### Phase 1: [Title]\n- **Status:** in_progress\n- **Started:** [timestamp]\n- Actions taken:\n  -\n- Files created\u002Fmodified:\n  -\n\n### Phase 2: [Title]\n- **Status:** pending\n- Actions taken:\n  -\n- Files created\u002Fmodified:\n  -\n\n---\n\n## Test Results\n| Test | Expected | Actual | Status |\n|------|----------|--------|--------|\n|      |          |        |        |\n\n---\n\n## Commands Run\n```bash\n# Useful commands executed during this session\n```\n\n---\n\n## Session Notes\n\u003C!-- Any observations, blockers, or context for next session -->\n```\n\n---\n\n## Project-Specific Patterns\n\n### For Semantic Link Labs API Wrapper Tasks\n\nWhen implementing REST API wrappers, include in findings.md:\n\n```markdown\n## API Analysis\n| API | Fabric Path | Power BI Path | Notes |\n|-----|-------------|---------------|-------|\n| list_items | \u002Fv1\u002Fworkspaces\u002F{id}\u002Fitems | \u002Fv1.0\u002Fmyorg\u002Fgroups\u002F{id}\u002F... | Paginated |\n\n## Implementation Pattern\n- Use `_base_api` helper for all REST calls\n- Use `resolve_workspace_name_and_id` for workspace resolution\n- Use `_create_dataframe` for empty DataFrame initialization\n- Return `pandas.DataFrame` for list operations\n\n## Required Decorator\n- `@log` -- Enable logging and telemetry\n\n## Function Naming\n| Prefix | Use Case |\n|--------|----------|\n| `list_` | Retrieves a collection |\n| `get_` | Retrieves a single item |\n| `create_` | Creates a new resource |\n| `update_` | Modifies existing resource |\n| `delete_` | Removes a resource |\n```\n\n### For Test Writing Tasks\n\nInclude in findings.md:\n\n```markdown\n## Test Structure\n| Type | Location |\n|------|----------|\n| Unit tests | tests\u002F |\n\n## Key Patterns\n- Use `pytest.mark.parametrize` for multiple inputs\n- Mock `_base_api` for API wrapper tests\n- Use `_create_dataframe` to verify empty DataFrame structure\n- See write-tests skill for full patterns\n```\n\n---\n\n## Completion Workflow\n\nAfter finishing all work:\n\n```bash\n# 1. Verify all checkboxes are marked complete\ngrep -c \"\\[x\\]\" .agent_cache\u002F\u003Ctask-name>\u002Ftask_plan.md\ngrep -c \"\\[ \\]\" .agent_cache\u002F\u003Ctask-name>\u002Ftask_plan.md\n\n# 2. Rename directory with [done] suffix\nmv .agent_cache\u002F\u003Ctask-name> .agent_cache\u002F\u003Ctask-name>-[done]\n```\n\n---\n\n## The 5-Question Reboot Test\n\nWhen resuming work, verify you can answer:\n\n| Question | Answer Source |\n|----------|---------------|\n| Where am I? | Current phase in task_plan.md |\n| Where am I going? | Remaining phases |\n| What's the goal? | Goal statement in plan |\n| What have I learned? | findings.md |\n| What have I done? | progress.md |\n\nIf you can't answer these, read all 3 planning files before continuing.\n\n---\n\n## Read vs Write Decision Matrix\n\n| Situation | Action | Reason |\n|-----------|--------|--------|\n| Just wrote a file | DON'T read | Content still in context |\n| After 2+ searches | Write findings NOW | Before info is lost |\n| Starting new phase | Read plan\u002Ffindings | Re-orient context |\n| Error occurred | Read relevant file | Need current state |\n| Resuming after gap | Read ALL planning files | Recover state |\n| Before major decision | Read task_plan.md | Refresh goals |\n\n---\n\n## Anti-Patterns\n\n| Don't | Do Instead |\n|-------|------------|\n| Start executing immediately | Create plan file FIRST |\n| State goals once and forget | Re-read plan before decisions |\n| Hide errors and retry silently | Log errors to plan file |\n| Stuff everything in context | Store large content in files |\n| Repeat failed actions | Track attempts, mutate approach |\n| Skip testing | Always include test tasks |\n\n---\n\n## Example: Adding Admin API Wrappers\n\n### task_plan.md\n```markdown\n# Task Plan: Add Admin Workspace APIs\n\n## Goal\nImplement wrapper functions for Fabric Admin Workspace APIs in the sempy_labs.admin module.\n\n## Current Phase\nPhase 3\n\n## Guidelines\n- Use `@log` decorator on all public functions\n- Use `_base_api` helper for REST calls\n- Reference: add-function skill, rest-api-patterns skill\n\n---\n\n## Phases\n\n### Phase 1: Requirements & Discovery\n- [x] Read Fabric Admin API documentation\n- [x] Identify workspace-related endpoints\n- [x] Document in findings.md\n- **Status:** complete\n\n### Phase 2: Dependency Analysis\n- [x] Check existing workspace implementations\n- [x] Create function inventory\n- **Status:** complete\n\n### Phase 3: Implementation\n- [x] `list_workspaces`\n- [x] `get_workspace`\n- [ ] `list_workspace_access_details`\n- [ ] `update_workspace`\n- **Status:** in_progress\n\n### Phase 4: Testing\n- [ ] Write unit tests with mocks\n- [ ] Run tests\n- **Status:** pending\n\n### Phase 5: Completion\n- [ ] Run black, flake8\n- [ ] Verify all tests pass\n- **Status:** pending\n\n---\n\n## Errors Encountered\n| Error | Attempt | Resolution |\n|-------|---------|------------|\n| Pagination not working | 1 | Need uses_pagination=True in _base_api |\n```\n\n---\n\n## Related Skills\n\n| Skill | When to Use |\n|-------|-------------|\n| [add-function](..\u002Fadd-function\u002FSKILL.md) | Adding new API wrapper functions |\n| [rest-api-patterns](..\u002Frest-api-patterns\u002FSKILL.md) | REST API implementation patterns |\n| [write-tests](..\u002Fwrite-tests\u002FSKILL.md) | Writing unit tests |\n| [code-style](..\u002Fcode-style\u002FSKILL.md) | Running linters and formatters |\n| [run-tests](..\u002Frun-tests\u002FSKILL.md) | Running pytest locally |\n| [github-repo-explore](..\u002Fgithub-repo-explore\u002FSKILL.md) | Finding reference implementations |\n",{"name":5,"description":7},"main","2ddf46109c1209ceffa88149f4631e7b2275f9a1",".claude\u002Fskills\u002Fplanning-with-files",204,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-13 04:54:42",{"source":9,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add microsoft\u002Fsemantic-link-labs --skill planning-with-files",{"tool":72,"command":73},"bunx","bunx skills add microsoft\u002Fsemantic-link-labs --skill planning-with-files",{"tool":75,"command":76},"pnpm","pnpm dlx skills add microsoft\u002Fsemantic-link-labs --skill planning-with-files","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplanning-with-files\u002FSKILL.md",true,[80],{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"templates\u002Fcheckpoint-template.md","REFERENCE","参考文档",3110,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplanning-with-files\u002Ftemplates\u002Fcheckpoint-template.md",[87,112,141,165,182,200],{"skillNo":88,"name":89,"nameZh":90,"description":91,"descriptionZh":92,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":93,"categories":94,"keywords":101,"publishedAt":52},"01M699GKE0WWT6YVHBS06KM8AH","write-tests","Python 单元测试编写","Guide for writing unit tests. Use this when creating tests to verify Python logic.","编写单元测试指南。在创建测试以验证 Python 逻辑时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwrite-tests\u002FSKILL.md",[95,98],{"categoryNo":96,"categoryName":97,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":99,"categoryName":100,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[102,103,104,38,105,36,106,107,108,109,45,110,111],"write tests","write","tests","unit","logic","writing","python","unit tests","guide","verify",{"skillNo":113,"name":114,"nameZh":115,"description":116,"descriptionZh":117,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":118,"categories":119,"keywords":124,"publishedAt":52},"01M699GGVJHWCJNW68P08VWCMA","ui-styling","UI 视觉样式设计","Guide for the visual style, structure, and shared building blocks used by Semantic Link Labs interactive UI tools (HTML widgets and anywidget-based widgets). Use this when adding a new interactive UI, modifying an existing one, or adding shared visual components.","关于 Semantic Link Labs 交互式 UI 工具（HTML 小部件和基于 anywidget 的小部件）所使用的视觉风格、结构和共享构建块的指南。在添加新的交互式 UI、修改现有 UI 或添加共享视觉组件时使用此技能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fui-styling\u002FSKILL.md",[120,121],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":122,"categoryName":123,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[125,126,127,45,128,129,130,110,131,132,133,134,135,136,137,138,139,38,140,36],"ui styling","ui","styling","visual","structure","html","interactive","Building Blocks","Tools","components","shared","widgets","style","visual style","blocks","Existing",{"skillNo":142,"name":143,"nameZh":144,"description":145,"descriptionZh":146,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":147,"categories":148,"keywords":155,"publishedAt":52},"01M699GEZ3YRK8PCPVZF4NEEWF","tom-operations","TOM 表格对象模型操作","Guide for working with the TOM (Tabular Object Model) wrapper. Use this when modifying semantic models programmatically.","关于使用 TOM（表格对象模型，Tabular Object Model）包装器的指南。当以编程方式修改语义模型时使用此技能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftom-operations\u002FSKILL.md",[149,152],{"categoryNo":150,"categoryName":151,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告",{"categoryNo":153,"categoryName":154,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BTGTEHKD89NSZ5CT4Y5AGV","数据工程师",[156,157,110,158,38,159,34,160,161,162,45,36,163,164],"operations","tom operations","tabular","object","semantic","models","Wrapper","model","semantic models",{"skillNo":166,"name":167,"nameZh":168,"description":169,"descriptionZh":170,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":171,"categories":172,"keywords":177,"publishedAt":52},"01M699GCWWBZM2XFNW5PTGRFJP","sql_to_dax","SQL 转 DAX 度量值","Guide for translating SQL aggregation expressions into DAX measures.","将 SQL 聚合表达式转换为 DAX 度量值的指南。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsql_to_dax\u002FSKILL.md",[173,174],{"categoryNo":150,"categoryName":151,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":175,"categoryName":176,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师",[178,179,180,38,110,181],"sql","sql to dax","dax","aggregation",{"skillNo":183,"name":184,"nameZh":185,"description":186,"descriptionZh":187,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":188,"categories":189,"keywords":192,"publishedAt":52},"01M699GAY10VVK66E4QGT94A93","run-tests","pytest 测试运行","Guide for running pytest tests locally. Use this when running tests to verify code changes.","本地运行 pytest 测试的指南。在运行测试以验证代码更改时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frun-tests\u002FSKILL.md",[190,191],{"categoryNo":96,"categoryName":97,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":99,"categoryName":100,"taxonomyType":28,"taxonomyTypeDesc":29},[104,193,194,38,195,45,110,111,196,197,198,199,36],"run","run tests","pytest","running tests","code","changes","running",{"skillNo":201,"name":202,"nameZh":203,"description":204,"descriptionZh":205,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":206,"categories":207,"keywords":212,"publishedAt":52},"01M699G8V718EXYE8BR7NX734G","rest-api-patterns","REST API 封装实现","Guide for implementing REST API wrapper functions. Use this when adding new API wrappers or troubleshooting API calls.","实现 REST API 包装函数的指南。在添加新的 API 包装器或排查 API 调用问题时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsemantic-link-labs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frest-api-patterns\u002FSKILL.md",[208,209],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":210,"categoryName":211,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现",[213,214,215,216,217,218,38,36,39,40,219,162,45,110,220],"REST","api patterns","rest api","rest api patterns","api","patterns","functions","troubleshooting"]