feat(git-ai): add Git AI plugin to marketplace#153
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
No issues found across 8 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Architecture diagram
sequenceDiagram
participant User
participant Claude as Claude Code CLI
participant Registry as Marketplace (marketplace.json)
participant Plugin as Git AI Plugin (Skills)
participant CLI as git-ai CLI Tool
participant DB as Git Repo / prompts.db
Note over User,DB: NEW: Plugin Installation Flow
User->>Claude: /plugin install git-ai@pleaseai
Claude->>Registry: NEW: Lookup 'git-ai' source path
Registry-->>Claude: Return source (./plugins/git-ai)
Claude->>Plugin: Load skills (ask, search, analysis)
Claude-->>User: Installation successful
Note over User,DB: NEW: Skill Execution Flow (Example: '/ask')
User->>Claude: /ask "Why was this code written?"
Claude->>Plugin: Invoke 'ask' skill
Plugin->>Plugin: Extract file/line context from selection
rect rgb(240, 240, 240)
Note right of Plugin: Subagent Orchestration
Plugin->>Claude: Spawn subagent (max_turns: 4)
Claude->>CLI: NEW: git-ai search --file [path] --verbose
CLI->>DB: Query Git notes/metadata
DB-->>CLI: Return AI prompt history
CLI-->>Claude: JSON/Text transcript
Claude-->>Plugin: Aggregated context
end
Plugin-->>User: Response in "Author Agent" voice
Note over User,DB: NEW: Data Analysis Flow (Example: 'prompt-analysis')
User->>Claude: "What is my AI code acceptance rate?"
Claude->>Plugin: Invoke 'prompt-analysis' skill
Plugin->>CLI: NEW: git-ai prompts exec "SELECT..."
CLI->>DB: Query local SQLite (prompts.db)
DB-->>CLI: Row data
CLI-->>Plugin: Query results
Plugin-->>User: Acceptance rate metrics synthesis
There was a problem hiding this comment.
Code Review
This pull request introduces the git-ai plugin, which includes new skills for code tracking, searching AI conversation history, and prompt analysis. It also updates the marketplace configuration and README to include the new tool. Several issues were identified regarding repository policy: the skill definition files under .agents/skills/ should not be modified directly as they are managed by skills-lock.json and must be updated in the upstream repository. Additionally, the plugin.json file is missing the required author field to credit the upstream organization.
Add Git AI plugin with three skills (ask, git-ai-search, prompt-analysis) installed via skills.sh. Update marketplace.json, README, and release-please-config with the new plugin entry.
45f0e77 to
dc14b93
Compare
Summary
ask,git-ai-search, andprompt-analysis.claude-plugin/marketplace.jsonwith the new plugin entryREADME.mdwith Git AI section under Built-in Pluginsrelease-please-config.jsonwithplugins/git-aipackageTest plan
claude plugin validate .claude-plugin/marketplace.json)/plugin install git-ai@pleaseaiSummary by cubic
Add
git-aito the plugin marketplace to track AI-authored code and restore original prompt context in repos. Includes three skills (ask,git-ai-search,prompt-analysis) with docs and release setup..claude-plugin/marketplace.jsonand added README install:/plugin install git-ai@pleaseai.plugins/git-ai/.agents/skills/, plus manifest atplugins/git-ai/.claude-plugin/plugin.jsonandskills-lock.json.plugins/git-aiinrelease-please-config.jsonfor versioning.Written for commit dc14b93. Summary will update on new commits.