Skip to content

[P3] AgentReady Repository Agent #9

Closed

Description

@jeremyeder

Coldstart Implementation Prompt: AgentReady Repository Agent

Priority: P3
Repository: agentready (https://github.com/redhat/agentready)
Branch Strategy: Create feature branch from main


Context

You are implementing a feature for AgentReady, a repository quality assessment tool for AI-assisted development.

Repository Structure

agentready/
├── src/agentready/          # Source code
│   ├── models/              # Data models
│   ├── services/            # Scanner orchestration
│   ├── assessors/           # Attribute assessments
│   ├── reporters/           # Report generation (HTML, Markdown, JSON)
│   ├── templates/           # Jinja2 templates
│   └── cli/                 # Click-based CLI
├── tests/                   # Test suite (unit + integration)
├── examples/                # Example reports
└── specs/                   # Feature specifications

Key Technologies

  • Python 3.11+
  • Click (CLI framework)
  • Jinja2 (templating)
  • Pytest (testing)
  • Black, isort, ruff (code quality)

Development Workflow

  1. Create feature branch: git checkout -b NNN-feature-name
  2. Implement changes with tests
  3. Run linters: black . && isort . && ruff check .
  4. Run tests: pytest
  5. Commit with conventional commits
  6. Create PR to main

Feature Requirements

AgentReady Repository Agent

Priority: P3 (Important)

Description: Create a specialized Claude Code agent for the AgentReady repository to assist with development, testing, and maintenance tasks.

Requirements:

  • Agent with deep knowledge of AgentReady architecture
  • Understands assessment workflow, scoring logic, and report generation
  • Can help with:
    • Implementing new assessors
    • Enhancing existing assessors
    • Writing tests for new features
    • Debugging assessment issues
    • Improving report templates
    • Optimizing performance

Use Case:

# In Claude Code, use the agentready-dev agent
/agentready-dev implement new assessor for dependency security scanning
/agentready-dev debug why Python type annotation detection is failing
/agentready-dev optimize assessment performance for large repositories

Features:

  • Pre-loaded context about AgentReady codebase structure
  • Knowledge of assessment attributes and scoring algorithm
  • Understanding of tier-based weighting system
  • Familiar with reporter implementations (HTML, Markdown)
  • Can generate new assessors following established patterns

Implementation:

  • Create .claude/agents/agentready-dev.md with agent specification
  • Include links to key design documents (data-model.md, plan.md, research.md)
  • Provide common development patterns and examples
  • Reference test structure and coverage requirements

Related: Development workflow, code generation, testing

Notes:

  • Agent should follow constitution principles (library-first, TDD when requested)
  • Should know about stub assessors and how to expand them
  • Can help with performance benchmarking and optimization
  • Should understand the research report structure and attribute definitions


Implementation Checklist

Before you begin:

  • Read CLAUDE.md for project context
  • Review existing similar features (if applicable)
  • Understand the data model (src/agentready/models/)
  • Check acceptance criteria in feature description

Implementation steps:

  • Create feature branch
  • Implement core functionality
  • Add unit tests (target >80% coverage)
  • Add integration tests (if applicable)
  • Run linters and fix any issues
  • Update documentation (README.md, CLAUDE.md if needed)
  • Self-test the feature end-to-end
  • Create PR with descriptive title and body

Code quality requirements:

  • All code formatted with black (88 char lines)
  • Imports sorted with isort
  • No ruff violations
  • All tests passing
  • Type hints where appropriate
  • Docstrings for public APIs

Key Files to Review

Based on this feature, you should review:

  • src/agentready/models/ - Understand Assessment, Finding, Attribute models
  • src/agentready/services/scanner.py - Scanner orchestration
  • src/agentready/assessors/base.py - BaseAssessor pattern
  • src/agentready/reporters/ - Report generation
  • CLAUDE.md - Project overview and guidelines
  • BACKLOG.md - Full context of this feature

Testing Strategy

For this feature, ensure:

  1. Unit tests for core logic (80%+ coverage)
  2. Integration tests for end-to-end workflows
  3. Edge case tests (empty inputs, missing files, errors)
  4. Error handling tests (graceful degradation)

Run tests:

# All tests
pytest

# With coverage
pytest --cov=src/agentready --cov-report=html

# Specific test file
pytest tests/unit/test_feature.py -v

Success Criteria

This feature is complete when:

  • ✅ All acceptance criteria from feature description are met
  • ✅ Tests passing with >80% coverage for new code
  • ✅ All linters passing (black, isort, ruff)
  • ✅ Documentation updated
  • ✅ PR created with clear description
  • ✅ Self-tested end-to-end

Questions to Clarify (if needed)

If anything is unclear during implementation:

  1. Check CLAUDE.md for project patterns
  2. Review similar existing features
  3. Ask for clarification in PR comments
  4. Reference the original backlog item

Getting Started

# Clone and setup
git clone https://github.com/redhat/agentready.git
cd agentready

# Create virtual environment
uv venv && source .venv/bin/activate

# Install dependencies
uv pip install -e .
uv pip install pytest black isort ruff

# Create feature branch
git checkout -b 009-agentready-repository-agent

# Start implementing!

Note: This is a coldstart prompt. You have all context needed to implement this feature independently. Read the linked files, follow the patterns, and deliver high-quality code with tests.

Activity

  1. jeremyeder commented on Nov 22, 2025

    @jeremyeder
    ContributorAuthor

    @claude I want you to model the agent repo for agentready after amber: https://github.com/ambient-code/platform/blob/main/agents/amber.md

  2. github-actions commented on Nov 22, 2025

    @github-actions
    Contributor

    Claude finished @jeremyeder's task —— View job • claude/issue-9-20251122-0616 • Create PR ➔


    AgentReady Repository Agent Implementation Complete

    Tasks

    • Fetch amber.md agent specification from platform repository
    • Review AgentReady project structure and context
    • Review existing agent structure (doubleagent.md)
    • Create agentready-dev.md agent specification
    • Commit and push changes
    • Provide PR creation link

    Summary

    Successfully created the agentready-dev.md agent specification file following the pattern from the existing doubleagent.md agent. The new agent includes:

    Core Content:

    • Complete AgentReady architecture overview and data flow
    • Tier-based scoring algorithm and certification levels
    • All finding status types and design patterns
    • Reference assessor implementations with file locations
    • Test structure, fixtures, and coverage requirements

    Development Guidance:

    • Step-by-step guide for implementing new assessors
    • Pattern for expanding the 15 stub assessors
    • Constitutional principles (library-first, fail gracefully, etc.)
    • Common tasks and debugging strategies
    • Anti-patterns to avoid

    Documentation:

    • Links to all key design documents (CLAUDE.md, BACKLOG.md, specs/)
    • Contract and schema references
    • Current status and priorities
    • Performance optimization techniques

    The agent is ready to use with invocations like:

    @agentready-dev implement new assessor for dependency security scanning
    @agentready-dev debug why Python type annotation detection is failing
    @agentready-dev expand LockFilesAssessor stub into full implementation

    | Branch: claude/issue-9-20251122-0616

  3. github-actions commented on Nov 22, 2025

    @github-actions
    Contributor

    🎉 This issue has been resolved in version 1.9.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions