Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Aug 24, 2025

This PR adds an AGENTS.md file to provide guidelines for AI agents working on this repository, as requested in issue #893.

The file follows the agents.md specification and includes comprehensive guidelines covering:

Key Guidelines Included

  • Commands: Testing (npm test), linting (npm run lint), and coverage reporting via c8
  • Code Style: Node.js 20.8.1+, ES modules, Prettier formatting with 120 character line width, AVA testing framework
  • Development Best Practices:
    • Perform minimal changes focused on specific issues
    • Write clear, reviewable code
    • Use semantic commits (conventional commit format)
    • Always run tests and formatting before committing
  • Project Structure: Overview of lib/, test/, and main entry points
  • Testing Requirements: Maintain coverage, use nock for HTTP mocking, verify GitLab API interactions
  • Semantic Release Integration: Follow semantic versioning and conventional commits for automated releases

Implementation Details

The file is properly formatted according to the repository's Prettier configuration and all existing tests continue to pass. This ensures that AI agents working on this semantic-release plugin will follow established patterns and maintain code quality.

Closes #893


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@Copilot Copilot AI changed the title [WIP] @semantic-release/gitlab/issues/893 docs: add AGENTS.md file with guidelines for AI agents Aug 24, 2025
Copilot finished work on behalf of fgreinacher August 24, 2025 13:46
@Copilot Copilot AI requested a review from fgreinacher August 24, 2025 13:46
@fgreinacher fgreinacher marked this pull request as ready for review August 24, 2025 13:48
Copy link
Contributor

@fgreinacher fgreinacher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good enough for the start. We can improve as we go.

WDYT @JonasSchubert?

Copy link
Contributor

@JonasSchubert JonasSchubert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well. Let's start with this.

@JonasSchubert JonasSchubert force-pushed the copilot/fix-c44c263d-2bc3-426f-b205-e765ea2764fb branch from f51117a to fadee18 Compare August 25, 2025 06:31
@JonasSchubert JonasSchubert merged commit 341aca0 into master Aug 25, 2025
14 checks passed
@JonasSchubert JonasSchubert deleted the copilot/fix-c44c263d-2bc3-426f-b205-e765ea2764fb branch August 25, 2025 06:51
Copy link

🎉 This PR is included in version 13.2.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add AGENTS.md
3 participants