Skip to content

lidge-jun/codexclaw / plugins/codexclaw/skills/repo-map

cxc-repo-map

Verified

Use for repo structure and symbol maps. Triggers: repo map, codebase overview, architecture map, 와꾸.

FileKindSize
SKILL.mdskill md4.6 KB
agents/openai.yamlconfig165 B
scripts/LICENSEother1.0 KB
scripts/NOTICE.mdmarkdown1.2 KB
scripts/importance.pyexecutablescript2.1 KB
scripts/queries/tree-sitter-language-pack/README.mdmarkdown327 B
scripts/queries/tree-sitter-language-pack/arduino-tags.scmother177 B
scripts/queries/tree-sitter-language-pack/c-tags.scmother461 B
scripts/queries/tree-sitter-language-pack/chatito-tags.scmother338 B
scripts/queries/tree-sitter-language-pack/commonlisp-tags.scmother4.6 KB
scripts/queries/tree-sitter-language-pack/cpp-tags.scmother809 B
scripts/queries/tree-sitter-language-pack/csharp-tags.scmother1.1 KB
scripts/queries/tree-sitter-language-pack/d-tags.scmother1.4 KB
scripts/queries/tree-sitter-language-pack/dart-tags.scmother2.2 KB
scripts/queries/tree-sitter-language-pack/elisp-tags.scmother246 B
scripts/queries/tree-sitter-language-pack/elixir-tags.scmother1.6 KB
scripts/queries/tree-sitter-language-pack/elm-tags.scmother953 B
scripts/queries/tree-sitter-language-pack/gleam-tags.scmother1.4 KB
scripts/queries/tree-sitter-language-pack/go-tags.scmother1.3 KB
scripts/queries/tree-sitter-language-pack/java-tags.scmother624 B
scripts/queries/tree-sitter-language-pack/javascript-tags.scmother2.3 KB
scripts/queries/tree-sitter-language-pack/lua-tags.scmother945 B
scripts/queries/tree-sitter-language-pack/ocaml-tags.scmother2.6 KB
scripts/queries/tree-sitter-language-pack/ocaml_interface-tags.scmother2.0 KB
scripts/queries/tree-sitter-language-pack/pony-tags.scmother2.1 KB
scripts/queries/tree-sitter-language-pack/properties-tags.scmother135 B
scripts/queries/tree-sitter-language-pack/python-tags.scmother437 B
scripts/queries/tree-sitter-language-pack/r-tags.scmother461 B
scripts/queries/tree-sitter-language-pack/racket-tags.scmother224 B
scripts/queries/tree-sitter-language-pack/ruby-tags.scmother1.3 KB
scripts/queries/tree-sitter-language-pack/rust-tags.scmother1.4 KB
scripts/queries/tree-sitter-language-pack/solidity-tags.scmother1.4 KB
scripts/queries/tree-sitter-language-pack/swift-tags.scmother1.4 KB
scripts/queries/tree-sitter-language-pack/udev-tags.scmother417 B
scripts/queries/tree-sitter-languages/README.mdmarkdown2.5 KB
scripts/queries/tree-sitter-languages/c-tags.scmother461 B
scripts/queries/tree-sitter-languages/c_sharp-tags.scmother1.0 KB
scripts/queries/tree-sitter-languages/cpp-tags.scmother803 B
scripts/queries/tree-sitter-languages/dart-tags.scmother2.2 KB
scripts/queries/tree-sitter-languages/elisp-tags.scmother332 B
scripts/queries/tree-sitter-languages/elixir-tags.scmother1.6 KB
scripts/queries/tree-sitter-languages/elm-tags.scmother951 B
scripts/queries/tree-sitter-languages/go-tags.scmother848 B
scripts/queries/tree-sitter-languages/hcl-tags.scmother2.1 KB
scripts/queries/tree-sitter-languages/java-tags.scmother627 B
scripts/queries/tree-sitter-languages/javascript-tags.scmother2.2 KB
scripts/queries/tree-sitter-languages/kotlin-tags.scmother632 B
scripts/queries/tree-sitter-languages/ocaml-tags.scmother2.6 KB
scripts/queries/tree-sitter-languages/ocaml_interface-tags.scmother2.0 KB
scripts/queries/tree-sitter-languages/php-tags.scmother714 B
scripts/queries/tree-sitter-languages/python-tags.scmother325 B
scripts/queries/tree-sitter-languages/ql-tags.scmother707 B
scripts/queries/tree-sitter-languages/ruby-tags.scmother1.3 KB
scripts/queries/tree-sitter-languages/rust-tags.scmother1.4 KB
scripts/queries/tree-sitter-languages/scala-tags.scmother1.7 KB
scripts/queries/tree-sitter-languages/typescript-tags.scmother1.2 KB
scripts/repomap.pyexecutablescript7.5 KB
scripts/repomap_class.pyexecutablescript21.3 KB
scripts/requirements.txtmanifest133 B
scripts/scm.pyexecutablescript1.9 KB
scripts/utils.pyexecutablescript1.6 KB

scripts/scm.py

View on GitHub
"""
SCM file handling for RepoMap.
"""

from pathlib import Path
from typing import Optional

def get_scm_fname(lang: str) -> Optional[str]:
    """Get the SCM query file for a language."""
    scm_files = {
        'arduino': 'arduino-tags.scm',
        'chatito': 'chatito-tags.scm',
        'commonlisp': 'commonlisp-tags.scm',
        'cpp': 'cpp-tags.scm',
        'csharp': 'csharp-tags.scm',
        'c': 'c-tags.scm',
        'dart': 'dart-tags.scm',
        'd': 'd-tags.scm',
        'elisp': 'elisp-tags.scm',
        'elixir': 'elixir-tags.scm',
        'elm': 'elm-tags.scm',
        'gleam': 'gleam-tags.scm',
        'go': 'go-tags.scm',
        'javascript': 'javascript-tags.scm',
        'java': 'java-tags.scm',
        'lua': 'lua-tags.scm',
        'ocaml_interface': 'ocaml_interface-tags.scm',
        'ocaml': 'ocaml-tags.scm',
        'pony': 'pony-tags.scm',
        'properties': 'properties-tags.scm',
        'python': 'python-tags.scm',
        'racket': 'racket-tags.scm',
        'r': 'r-tags.scm',
        'ruby': 'ruby-tags.scm',
        'rust': 'rust-tags.scm',
        'solidity': 'solidity-tags.scm',
        'swift': 'swift-tags.scm',
        'udev': 'udev-tags.scm',
        'c_sharp': 'c_sharp-tags.scm',
        'hcl': 'hcl-tags.scm',
        'kotlin': 'kotlin-tags.scm',
        'php': 'php-tags.scm',
        'ql': 'ql-tags.scm',
        'scala': 'scala-tags.scm',
        'typescript': 'typescript-tags.scm',
    }
    
    if lang in scm_files:
        scm_filename = scm_files[lang]
        # Search in tree-sitter-language-pack
        scm_path = Path(__file__).parent / "queries" / "tree-sitter-language-pack" / scm_filename
        if scm_path.exists():
            return str(scm_path)
        # Search in tree-sitter-languages
        scm_path = Path(__file__).parent / "queries" / "tree-sitter-languages" / scm_filename
        if scm_path.exists():
            return str(scm_path)
    
    return None
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall