gitnexus-cli

Automate GitNexus CLI commands for repository analysis, status, cleanup, documentation, and listing.

58|8|Updated Dec 6, 2015
One-click install
npx skills add https://github.com/ptarmiganlabs/butler --skill gitnexus-cli-ptarmiganlabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitnexus-cli
Source: https://github.com/ptarmiganlabs/butler/tree/main/.claude/skills/gitnexus/gitnexus-cli
Command: npx skills add https://github.com/ptarmiganlabs/butler --skill gitnexus-cli-ptarmiganlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies running GitNexus CLI commands such as analyzing/indexing a repository, checking index freshness, cleaning the index, generating documentation, and listing indexed repositories.

Core Features & Use Cases

  • Repository Analysis and Indexing: Run 'analyze' to parse source files, build the knowledge graph, and generate context files.
  • Index Status Check: Use 'status' to determine if re-indexing is necessary.
  • Index Cleanup: 'clean' removes the index for re-indexing if it's corrupt or unnecessary.
  • Documentation Generation: 'wiki' creates repository documentation from the knowledge graph.
  • Repository Listing: 'list' displays all indexed repositories.
  • Use Case: After making significant code changes to a project, you can use 'analyze' to update the index and then 'wiki' to generate up-to-date documentation.

Quick Start

Generate a wiki for your project by running the 'gitnexus wiki' command.

Frequently Asked Questions about gitnexus-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate documentation from a Git repository analysis?

To generate documentation from a Git repository analysis, run the 'gitnexus wiki' command to create repository documentation directly from the parsed knowledge graph. This automates wiki creation after indexing your codebase.

How do I check if a repository knowledge graph needs re-indexing?

To check if a repository knowledge graph needs re-indexing, use the 'gitnexus status' command to determine index freshness. This verifies whether your current index is up-to-date with recent code changes.

How do I parse source files and build a knowledge graph for codebase maintenance?

To parse source files and build a knowledge graph for codebase maintenance, execute the 'gitnexus analyze' command. This indexes the repository by parsing source files, building the graph, and generating context files.

Do I need GitNexus installed to automate repository indexing and documentation generation?

Yes, you need GitNexus installed and configured properly to automate repository indexing and documentation generation. This Skill automates GitNexus CLI commands but relies on the underlying GitNexus installation to function.

How do I clean a corrupt repository index before re-indexing?

To clean a corrupt repository index before re-indexing, run the 'gitnexus clean' command. This removes the existing index, allowing you to perform a fresh analysis if the index becomes corrupt or unnecessary.

How do I list all indexed repositories in GitNexus?

To list all indexed repositories in GitNexus, use the 'gitnexus list' command. This displays all repositories that currently have generated knowledge graphs and context files within your environment.