Skip to content

submit: kestarsheng-code-review-agent - #50

Open
kestarsheng wants to merge 8 commits into
xagentAI:mainfrom
kestarsheng:submit-kestarsheng-code-review-agent
Open

submit: kestarsheng-code-review-agent#50
kestarsheng wants to merge 8 commits into
xagentAI:mainfrom
kestarsheng:submit-kestarsheng-code-review-agent

Conversation

@kestarsheng

Copy link
Copy Markdown

Code Review Agent

Capability

AI-powered code review service that analyzes source code and returns a structured quality report covering correctness, security, performance, maintainability, and best practices.

Live API

Tech Stack

  • FastAPI + OpenAI-compatible protocol (DeepSeek)
  • FastMCP Server (review_code tool, stdio transport)
  • Deployed on Vercel (serverless)

Key Features

  • POST /v1/review accepts code snippet + optional language/context
  • Returns JSON report with score (0-100), grade (A-D), issues, strengths, improvements
  • Max code size: 60,000 chars
  • Safe error handling: 422 (empty body), 413 (oversized), 502 (LLM failure)

Source

Builder

kestarsheng - 2410251355@henu.edu.cn

- AI-powered code review service (FastAPI + DeepSeek + FastMCP)
- POST /v1/review returns structured quality report (score, grade, issues)
- Live API: https://code-review-agent-ashy-six.vercel.app
- Health check and verification endpoints with commit binding
- Full source code included in source/
@github-actions

Copy link
Copy Markdown

Submission received — #50

Thank you for submitting to the current X-Agent MCP Hackathon. We have received your pull request.

This is a receipt only. It does not confirm eligibility, completeness, technical approval, a judging result, or an award. Passing automated checks or merging code for archival purposes does not, by itself, mean the entry has passed review or won a prize.

Please include the complete source for the submitted capability in this repository under submissions/mcp-hackathon/<slug>/source/, with dependency files, configuration examples, and reproducible setup/build instructions. An external repository link alone is not sufficient. The official copy is intended to remain available if the original repository later becomes unavailable. Do not include secrets, credentials, or private user data; clearly disclose external and private-service dependencies.

The automated checks report technical checks separately. A workflow failure is not a judging decision. Keep updates in this PR while submissions remain open, and keep the documented source version and deployment evidence consistent.

See the submission instructions. Final review results and awards will be announced separately through the official event channels.

…ion)

- Rule engine: 22+ built-in rules across Python/JS/Java/Go
- Diff parser: unified diff review for PR-level analysis
- Dual-engine fusion: rules detect patterns, LLM adds semantics,
  cross-validation marks confirmed findings
- New endpoints: POST /v1/review_diff, GET /v1/rules
- MCP multi-tool: review_code, review_diff, detect_security, list_rules
- Issue source attribution: rule / llm / confirmed
- 24 tests, all passing
- Review commit updated to d23b13b
…fix_code, product landing page)

- Sync source/ to commit 13a336d (latest main)
- Add cli.py for one-click git diff review
- Update submission.json reviewCommit to 13a336d
- Update SUBMISSION.md with multi-file, MCP, CLI, dimension scores
- Update verification/README.md commit hash
- Sync README.md (now English default), README_ZH.md (Chinese), cli.py (English output)
- Remove README_EN.md (replaced by README.md + README_ZH.md)
- Update reviewCommit in submission.json to 465963c
- Update SUBMISSION.md: 26 rules, 5 languages (add Rust), commit refs
- Update verification/README.md commit refs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant