morph-apply

Solid

Fast file editing via Morph Apply API (10,500 tokens/sec, 98% accuracy)

AI & Automation 496 stars 41 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
90
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Morph Fast Apply Fast, AI-powered file editing using the Morph Apply API. Edit files without reading them first. Processes at 10,500 tokens/sec with 98% accuracy. ## When to Use - Fast file edits without reading entire file first - Batch edits to a file (multiple changes in one operation) - When you know what to change but file is large - Large files where reading would consume too many tokens ## Key Pattern: Code Markers Use `// ... existing code ...` (or language-appropriate comments) to mark where edits go: ```python # ... existing code ... try: result = process() except Exception as e: log.error(e) # ... existing code ... ``` The API intelligently places your edit in the right location. ## Usage ### Add error handling ```bash uv run python -m runtime.harness scripts/mcp/morph_apply.py \ --file "src/auth.py" \ --instruction "Add error handling to login function" \ --code_edit "# ... existing code ... try: user = authenticate(credentials) except AuthError as e: log.error(f'Auth failed: {e}') raise # ... existing code ..." ``` ### Add logging ```bash uv run python -m runtime.harness scripts/mcp/morph_apply.py \ --file "src/api.py" \ --instruction "Add debug logging" \ --code_edit "# ... existing code ... logger.debug(f'Processing request: {request.id}') # ... existing code ..." ``` ### TypeScript example ```bash uv run python -m runtime.harness scripts/mcp/morph_app...

Details

Author
vibeeval
Repository
vibeeval/vibecosystem
Created
2 months ago
Last Updated
1 months ago
Language
C#
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category