[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J8Z8A0TCKC4NDWHM0TX6SD":3,"skill-same:01M6J8Z8A0TCKC4NDWHM0TX6SD":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":50,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":62,"updatedAt":63,"install":64,"resources":76},"01M6J8Z8A0TCKC4NDWHM0TX6SD","devops-code-transfer",null,"Transfer code between files with line-based precision. Use when users request copying code from one location to another, moving functions or classes between files, extracting code blocks, or inserting code at specific line numbers.","Flissel\u002Fvibemind-os","Flissel","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F104565236?v=4","01M6J8Q88NWAJGKPC5TEG9YCNV","Felix Baumann","01M6J8Q8D7XAFY44P70XTJFZBW",1,"MIT","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fskills\u002Fdevops\u002Fcode-transfer\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"transfer","code","devops","devops code transfer","code transfer","2026","when","request","source","at","true","extracting","with","blocks","users","line","imported","location","functions","files","use","behavior","repo","2026-11-10 10:12:30",false,"---\nname: devops-code-transfer\ndescription: Transfer code between files with line-based precision. Use when users\n  request copying code from one location to another, moving functions or classes between\n  files, extracting code blocks, or inserting code at specific line numbers.\napp: devops\nrequires_approval: true\nagents:\n- '*'\ninputs: []\nexpected_state:\n  description: Imported skill — behavior matches source repo\n  verification_tool: none\nconfidence: 1.0\nattempts: 0\nsuccesses: 0\nlast_adjusted: '2026-05-11T21:21:56+00:00'\n---\n\n# Code Transfer\n\nTransfer code between files with precise line-based control. **Dual-mode operation**: native tools (1-10 files) or execution mode (10+ files, 90% token savings).\n\n## Operation Modes\n\n### Basic Mode (Default)\nUse Read, Edit, Bash scripts for 1-10 file operations. Works immediately, no setup required.\n\n### Execution Mode (10+ files)\n```python\nfrom api.filesystem import batch_copy\nfrom api.code_analysis import find_functions\n\nfunctions = find_functions('app.py', pattern='handle_.*')\noperations = [{\n    'source_file': 'app.py',\n    'start_line': f['start_line'],\n    'end_line': f['end_line'],\n    'target_file': 'handlers.py',\n    'target_line': -1\n} for f in functions]\nbatch_copy(operations)\n```\n\n## When to Use\n\n- \"copy this code to [file]\"\n- \"move [function\u002Fclass] to [file]\"\n- \"extract this to a new file\"\n- \"insert at line [number]\"\n- \"reorganize into separate files\"\n\n## Core Operations\n\n### 1. Extract Source Code\n```\nRead(file_path=\"src\u002Fauth.py\")                              # Full file\nRead(file_path=\"src\u002Fauth.py\", offset=10, limit=20)         # Line range\nGrep(pattern=\"def authenticate\", -n=true, -A=10)           # Find function\n```\n\n### 2. Insert at Specific Line\nUse `line_insert.py` script for line-based insertion:\n\n```bash\npython3 skills\u002Fcode-transfer\u002Fscripts\u002Fline_insert.py \u003Cfile> \u003Cline_number> \u003Ccode> [--backup]\n```\n\n**Examples:**\n```bash\n# Insert function at line 50\npython3 skills\u002Fcode-transfer\u002Fscripts\u002Fline_insert.py src\u002Futils.py 50 \"def helper():\\n    pass\"\n\n# Insert with backup\npython3 skills\u002Fcode-transfer\u002Fscripts\u002Fline_insert.py src\u002Futils.py 50 \"code\" --backup\n\n# Insert at beginning\npython3 skills\u002Fcode-transfer\u002Fscripts\u002Fline_insert.py src\u002Fnew.py 1 \"import os\"\n```\n\n**When to use:**\n- User specifies exact line number\n- Inserting into new\u002Fempty files\n- Inserting at beginning\u002Fend without context\n\n### 3. Insert Relative to Content\nUse **Edit** when insertion point is relative to existing code:\n\n```\nEdit(\n  file_path=\"src\u002Futils.py\",\n  old_string=\"def existing():\\n    pass\",\n  new_string=\"def existing():\\n    pass\\n\\ndef new():\\n    return True\"\n)\n```\n\n## Workflow Examples\n\n### Copy Function Between Files\n1. Find: `Grep(pattern=\"def validate_user\", -n=true, -A=20)`\n2. Extract: `Read(file_path=\"auth.py\", offset=45, limit=15)`\n3. Check target: `Read(file_path=\"validators.py\")`\n4. Insert: Use `line_insert.py` or Edit based on context\n\n### Extract Class to New File\n1. Locate: `Grep(pattern=\"class DatabaseConnection\", -n=true, -A=50)`\n2. Extract: `Read(file_path=\"original.py\", offset=100, limit=50)`\n3. Create: `Write(file_path=\"database.py\", content=\"\u003Cextracted>\")`\n4. Update imports: `Edit` in original file\n5. Remove old class: `Edit` with replacement\n\n### Insert at Specific Line\n1. Validate: `Read(file_path=\"main.py\", offset=20, limit=10)`\n2. Insert: `python3 skills\u002Fcode-transfer\u002Fscripts\u002Fline_insert.py main.py 25 \"logger.info('...')\" --backup`\n3. Verify: `Read(file_path=\"main.py\", offset=23, limit=5)`\n\n### Reorganize Into Modules\n1. Analyze: `Read(file_path=\"utils.py\")`\n2. Identify groups: `Grep(pattern=\"^def |^class \", -n=true)`\n3. Extract each category: `Write` new files\n4. Update original: Re-export or redirect\n\n## Best Practices\n\n**Planning:**\n- Understand dependencies (imports, references)\n- Identify exact start\u002Fend of code block\n- Check target file structure\n- Ensure necessary imports included\n\n**Preservation:**\n- Include docstrings and comments\n- Transfer related functions together\n- Update imports in both files\n- Maintain formatting\u002Findentation\n\n**Validation:**\n- Verify insertion placement\n- Check syntax\n- Test imports\n- Suggest running tests\n\n**Backups:**\n- Use `--backup` for significant changes\n- Critical file operations\n- Large deletions\n\n## Integration\n\n- **code-refactor**: Refactor after transferring\n- **test-fixing**: Run tests after reorganizing\n- **feature-planning**: Plan large reorganizations\n","# Code Transfer\n\nTransfer code between files with precise line-based control. **Dual-mode operation**: native tools (1-10 files) or execution mode (10+ files, 90% token savings).\n\n## Operation Modes\n\n### Basic Mode (Default)\nUse Read, Edit, Bash scripts for 1-10 file operations. Works immediately, no setup required.\n\n### Execution Mode (10+ files)\n```python\nfrom api.filesystem import batch_copy\nfrom api.code_analysis import find_functions\n\nfunctions = find_functions('app.py', pattern='handle_.*')\noperations = [{\n    'source_file': 'app.py',\n    'start_line': f['start_line'],\n    'end_line': f['end_line'],\n    'target_file': 'handlers.py',\n    'target_line': -1\n} for f in functions]\nbatch_copy(operations)\n```\n\n## When to Use\n\n- \"copy this code to [file]\"\n- \"move [function\u002Fclass] to [file]\"\n- \"extract this to a new file\"\n- \"insert at line [number]\"\n- \"reorganize into separate files\"\n\n## Core Operations\n\n### 1. Extract Source Code\n```\nRead(file_path=\"src\u002Fauth.py\")                              # Full file\nRead(file_path=\"src\u002Fauth.py\", offset=10, limit=20)         # Line range\nGrep(pattern=\"def authenticate\", -n=true, -A=10)           # Find function\n```\n\n### 2. Insert at Specific Line\nUse `line_insert.py` script for line-based insertion:\n\n```bash\npython3 skills\u002Fcode-transfer\u002Fscripts\u002Fline_insert.py \u003Cfile> \u003Cline_number> \u003Ccode> [--backup]\n```\n\n**Examples:**\n```bash\n# Insert function at line 50\npython3 skills\u002Fcode-transfer\u002Fscripts\u002Fline_insert.py src\u002Futils.py 50 \"def helper():\\n    pass\"\n\n# Insert with backup\npython3 skills\u002Fcode-transfer\u002Fscripts\u002Fline_insert.py src\u002Futils.py 50 \"code\" --backup\n\n# Insert at beginning\npython3 skills\u002Fcode-transfer\u002Fscripts\u002Fline_insert.py src\u002Fnew.py 1 \"import os\"\n```\n\n**When to use:**\n- User specifies exact line number\n- Inserting into new\u002Fempty files\n- Inserting at beginning\u002Fend without context\n\n### 3. Insert Relative to Content\nUse **Edit** when insertion point is relative to existing code:\n\n```\nEdit(\n  file_path=\"src\u002Futils.py\",\n  old_string=\"def existing():\\n    pass\",\n  new_string=\"def existing():\\n    pass\\n\\ndef new():\\n    return True\"\n)\n```\n\n## Workflow Examples\n\n### Copy Function Between Files\n1. Find: `Grep(pattern=\"def validate_user\", -n=true, -A=20)`\n2. Extract: `Read(file_path=\"auth.py\", offset=45, limit=15)`\n3. Check target: `Read(file_path=\"validators.py\")`\n4. Insert: Use `line_insert.py` or Edit based on context\n\n### Extract Class to New File\n1. Locate: `Grep(pattern=\"class DatabaseConnection\", -n=true, -A=50)`\n2. Extract: `Read(file_path=\"original.py\", offset=100, limit=50)`\n3. Create: `Write(file_path=\"database.py\", content=\"\u003Cextracted>\")`\n4. Update imports: `Edit` in original file\n5. Remove old class: `Edit` with replacement\n\n### Insert at Specific Line\n1. Validate: `Read(file_path=\"main.py\", offset=20, limit=10)`\n2. Insert: `python3 skills\u002Fcode-transfer\u002Fscripts\u002Fline_insert.py main.py 25 \"logger.info('...')\" --backup`\n3. Verify: `Read(file_path=\"main.py\", offset=23, limit=5)`\n\n### Reorganize Into Modules\n1. Analyze: `Read(file_path=\"utils.py\")`\n2. Identify groups: `Grep(pattern=\"^def |^class \", -n=true)`\n3. Extract each category: `Write` new files\n4. Update original: Re-export or redirect\n\n## Best Practices\n\n**Planning:**\n- Understand dependencies (imports, references)\n- Identify exact start\u002Fend of code block\n- Check target file structure\n- Ensure necessary imports included\n\n**Preservation:**\n- Include docstrings and comments\n- Transfer related functions together\n- Update imports in both files\n- Maintain formatting\u002Findentation\n\n**Validation:**\n- Verify insertion placement\n- Check syntax\n- Test imports\n- Suggest running tests\n\n**Backups:**\n- Use `--backup` for significant changes\n- Critical file operations\n- Large deletions\n\n## Integration\n\n- **code-refactor**: Refactor after transferring\n- **test-fixing**: Run tests after reorganizing\n- **feature-planning**: Plan large reorganizations\n",{"app":21,"name":5,"agents":47,"inputs":49,"attempts":50,"successes":50,"confidence":14,"description":7,"last_adjusted":51,"expected_state":52,"requires_approval":55},[48],"*",[],0,"2026-05-11T21:21:56+00:00",{"description":53,"verification_tool":54},"Imported skill — behavior matches source repo","none",true,"master","5f13b5d2b532c0ab6f847e3aa24d4bfe66f7d461","skills\u002Fdevops\u002Fcode-transfer","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os","https:\u002F\u002Fgithub.com\u002FFlissel","https:\u002F\u002Fvibemind.space","Co-founder & CTO, VibeMind - a voice-first agentic OS for non-technical founders. Agents that do the work, not describe it.","2026-11-15 02:57:54",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":55},[66,69,72],{"tool":67,"command":68},"npx","npx skills add Flissel\u002Fvibemind-os --skill devops-code-transfer",{"tool":70,"command":71},"bunx","bunx skills add Flissel\u002Fvibemind-os --skill devops-code-transfer",{"tool":73,"command":74},"pnpm","pnpm dlx skills add Flissel\u002Fvibemind-os --skill devops-code-transfer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fskills\u002Fdevops\u002Fcode-transfer\u002FSKILL.md",[],[78,86,94,101,129,137],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":85},"01M7DTM31MG69FRRMZF1E414G8","event-task-image-uploads","Foto aus dem Chat an eine Aufgabe der Event-App hängen.","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fspaces\u002Fevent_management\u002Fconfig\u002Fworkspace-legacy\u002Fskills\u002Fevent-task-image-uploads\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":42},"01M6JAA67M92TRE7GWDJDBTA9T","review","Review a change.","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fspaces\u002Frowboat\u002Frowboat\u002Fpackages\u002Fopenai-plugin-runtime\u002Ftest\u002Ffixtures\u002Fcomplete-plugin\u002Fskills\u002Freview\u002FSKILL.md",[],[88,93],"change",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":42},"01M6JAA3DZR55G8ZY493BE9NBB","triage","Triage a change.","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fspaces\u002Frowboat\u002Frowboat\u002Fpackages\u002Fopenai-plugin-runtime\u002Ftest\u002Ffixtures\u002Fcomplete-plugin\u002Fskills\u002Fgroup\u002Ftriage\u002FSKILL.md",[],[96,93],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":42},"01M6JA9XPVHENK0FQN7HBK54NV","zentrale-werkzeuge","Werkzeuge der Zentrale – nutzen bei GitHub-Fragen (Projekte updaten, Repos, Issues, PRs, Commits, CI\u002FActions-Status, README), bei Fragen zum eigenen Gitea (Sicherung\u002FSpiegel, Repos, Issues, Commits), wenn neueste Docs\u002FDoku zu einer Bibliothek oder einem Dienst geholt werden sollen, wenn ein Dashboard aus meinen Daten gebaut werden soll und wenn ich sage 'auf meinem PC suchen' oder 'such auf dem Rechner nach …'.","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fspaces\u002Frowboat\u002Fdeploy\u002Fheadless\u002Fskills\u002Fzentrale-werkzeuge\u002FSKILL.md",[],[108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],"zentrale werkzeuge","issues","repos","grep","status","list","docs","URL","file","add","prs","ci","mkdir","actions","README","commits","github","gitea","dashboard","fetch","todo",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":42},"01M6JA9SQPX187CVC148SQT1SP","wissen-suchen","Bedeutungssuche im Rowboat-Wissen – IMMER zuerst nutzen, wenn nach Kunden, Kontakten, Themen, Interessen, Notizen oder 'was wissen wir über …' gefragt wird, besonders wenn die genauen Wörter unklar sind.","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fspaces\u002Frowboat\u002Fdeploy\u002Fheadless\u002Fskills\u002Fwissen-suchen\u002FSKILL.md",[],[136],"wissen suchen",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":42},"01M6JA9P6GNFPE21101SDZS3BT","reel-aus-material","Reel aus vorhandenen Laura-Videos: passende Stellen im Transkript finden; spricht dort eine Person, bleibt ihr Originalton (mit Untertiteln aus dem Transkript), sonst trägt ein eingesprochener Satz den Clip. Bei Aufträgen der Art 'material'.","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fspaces\u002Fmarketing\u002Fvideo_claw\u002Fskills\u002Freel-aus-material\u002FSKILL.md",[],[144,145,146,147,148,149,150],"reel","reel aus material","material","clip","Art","videos","person"]