スキル一覧に戻る
faxenoff

ultracode

by faxenoff

Ultra-fast MCP server enabling AI agents to comprehensively work with TypeScript/JavaScript/Python projects: instant structural search, code modification with automatic linting/formatting/fixes, runtime debugging and backwards error analysis, integrated Git automation. Your AI's survival kit for massive codebases!

4🍴 0📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


name: UltraCode version: 1.0.0 description: Code analysis for TS/JS/Python/Go/Rust/Java/C++/Swift/Kotlin/Bash triggers:

  • code analysis
  • semantic search
  • refactoring
  • code modification
  • impact analysis

UltraCode — Claude Code Skill

Auto-activated for: TS/JS/Python/Go/Rust/Java/C++/Swift/Kotlin/Bash code analysis

When to Use

ALWAYS use instead of Grep/Glob — 5-10x faster, understands meaning.

TaskToolWhy
Search code by meaningsemantic_searchUnderstands natural language
Find similar codefind_similar_codeSemantic similarity
Impact analysisanalyze_code_impactShows what breaks
Find duplicatesdetect_code_clonesSemantic detection
List entities in fileget_membersAST parsing
Show dependencieslist_entity_relationshipsDependency graph
Modify code safelymodify_codeWith preview & rollback
Rename across projectrename_symbolUpdates all references

Supported Languages

LanguageSupportFeatures
TypeScript⭐⭐⭐Full type analysis, JSX/TSX
JavaScript⭐⭐⭐ES6+, JSX, CommonJS/ESM
Python⭐⭐⭐Type hints, async, decorators
Go⭐⭐⭐Goroutines, interfaces
Rust⭐⭐⭐Traits, lifetimes, macros
Java⭐⭐Generics, annotations
C++⭐⭐Templates, namespaces
Swift⭐⭐Protocols, extensions
Kotlin⭐⭐Coroutines, data classes
BashFunctions, variables

For C# projects use UltrasharpTools MCP — uses Roslyn for deep analysis.


Code Modification via MCP

⚡ Automatic Validation

All code modifications (modify_code, add_member, create_file, rename_symbol) automatically run linting and error checking. Results are returned immediately in the response:

  • No errors — change applied successfully
  • ⚠️ Warnings — change applied, warnings listed
  • Errors — change applied but errors detected, fix needed

No need to manually run validation — you get instant feedback on every change.

Safe Modification Workflow

1. semantic_search query="target code"       # Find what to modify
2. get_members filePath="file.ts"            # Get entity IDs
3. analyze_code_impact entityId="..."        # Check what breaks
4. create_snapshot description="Before..."   # Backup
5. modify_code entityId="..." preview=true   # Preview changes
6. modify_code entityId="..." preview=false  # Apply + auto-validate

Available Modification Tools

modify_code — Replace Entity Code

Replaces the entire entity (function, class, method) with new code.

modify_code({
  entityId: "src/utils.ts::processData",  // Entity ID from get_members
  newCode: `function processData(input: string): Result {
    // New implementation
    return transform(input);
  }`,
  preview: true,        // Preview first!
  preserveComments: true,
  updateImports: true
})

rename_symbol — Smart Rename

Renames symbol and updates ALL references across the project.

rename_symbol({
  entityName: "oldFunctionName",
  newName: "newFunctionName",
  preview: true,         // Preview first!
  updateReferences: true
})

add_member — Add to Class/Interface

Adds new method, property, or field to existing class.

add_member({
  filePath: "/path/to/file.ts",
  entityId: "MyClass",
  memberCode: `async fetchData(): Promise<Data> {
    return await this.api.get('/data');
  }`,
  position: "end"  // start | end | after
})

create_file — Create New File

Creates file and auto-indexes it into the graph.

create_file({
  filePath: "/path/to/new-file.ts",
  content: `export function helper() { ... }`,
  updateGraph: true
})

Rollback & Safety

create_snapshot — Backup Before Changes

create_snapshot({ description: "Before auth refactoring" })

undo — Rollback to Snapshot

undo({ snapshotId: "snap-123" })

list_snapshots — View Backups

list_snapshots({ limit: 10 })

Common Workflows

1. Understanding New Project

1. detect_technology_stack                   # Detect stack
2. get_graph_stats                           # View statistics
3. analyze_hotspots metric="complexity"      # Find complex code
4. semantic_search query="entry point"       # Find entry points

2. Safe Refactoring

1. semantic_search query="target code"       # Find target
2. analyze_code_impact entityId="..."        # Assess what breaks
3. create_snapshot description="Before..."   # Backup
4. modify_code entityId="..." preview=true   # Preview changes
5. modify_code entityId="..." preview=false  # Apply changes

3. Finding Problematic Code

semantic_search minCyclomatic=10             # Complex code
semantic_search hasAwaits=true hasExceptions=false  # Async without try/catch
semantic_search hasDocumentation=false       # Undocumented

4. Safe Rename Across Project

1. list_entity_relationships entityName="OldName"
2. analyze_code_impact entity="OldName"
3. create_snapshot description="Before renaming"
4. rename_symbol entityName="OldName" newName="NewName" preview=true
5. rename_symbol entityName="OldName" newName="NewName" preview=false

Tool Reference

Indexing

index

Manually trigger codebase indexing. Indexing is automatic — use this only for troubleshooting when search results seem incomplete or outdated.

ParamTypeDefaultDescription
directorystringcurrentDirectory to index
incrementalbooleanfalseChanged files only
resetbooleanfalseClear graph before indexing

Note: If semantic search returns incomplete results, try index reset=true to rebuild the graph.

semantic_search

Semantic search by meaning. Returns rich metadata: complexity, control flow, docs.

ParamTypeDefaultDescription
querystringrequiredNatural language search
limitnumber10Max results
projectPathstringcurrentCross-project search
minCyclomaticnumber-Min complexity
hasExceptionsboolean-Must have try-catch
hasAwaitsboolean-Must have await
hasDocumentationboolean-Must have docs

pattern_search

Advanced search: entity / content / semantic / hybrid modes.

find_similar_code

Find semantically similar code by snippet.

Entity Analysis

get_members

List all entities in file. Use to get entity IDs for modify_code.

list_entity_relationships

Show entity dependencies (callers, callees).

analyze_code_impact

Change impact analysis — what breaks when entity changes.

Code Quality

detect_code_clones

Semantic duplicate detection.

analyze_hotspots

Find complex code: complexity / changes / coupling.

validate_file

Validate file syntax/types (ESLint/Pylint).

Code Modification

modify_code

Replace entity code with preview and rollback support.

ParamTypeDefaultDescription
entityIdstringrequiredEntity ID
newCodestringrequiredNew code
previewbooleantruePreview changes
preserveCommentsbooleantrueKeep comments
updateImportsbooleantrueUpdate imports

rename_symbol

Rename symbol across project with reference updates.

create_file

Create new file with auto-indexing.

add_member

Add member to class/interface.

Snapshots & Rollback

create_snapshot

Create backup before changes.

undo

Rollback to snapshot.

list_snapshots

List available snapshots.

Git Integration

list_branches / switch_branch

Branch management for indexed branches.

get_changed_files

Files changed between branches.


  • ultracode-trace — Debugging, flow analysis, "why not called"
  • ultracode-autodoc — Project memory with auto-updated code refs, find code by business meaning

Cross-Project Support

# Switch context via index
index directory="D:\\other\\project"

# Or search in another project directly
semantic_search query="auth" projectPath="D:\\other\\project"

Storage: %LOCALAPPDATA%\UltraScriptTools\projects\{hash}/

スコア

総合スコア

70/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です