Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Aug 24, 2025

This PR adds a comprehensive AGENTS.md file that provides GitHub Copilot coding agents with detailed instructions on how to work effectively in the BigCommerce documentation repository.

What's Included

The instructions file provides:

  • Complete setup workflow with validated commands and timing expectations
  • Repository structure guide covering all key directories (docs/, reference/, assets/, etc.)
  • Validation requirements for both MDX documentation and OpenAPI specification changes
  • Development workflow from setup through validation to deployment
  • Troubleshooting guide for common issues like linting errors and setup problems
  • Explicit timeout recommendations with "NEVER CANCEL" warnings for all operations

Key Features

Exhaustively Validated Commands:

  • npm ci - dependency installation (~1-30 seconds)
  • npm run lint - MDX validation for 392+ files (~12 seconds)
  • spectral lint - OpenAPI validation for 70+ YAML files (~32 seconds)

Repository-Specific Guidance:

  • No traditional build process (documentation source files only)
  • Production deployment via CircleCI integration
  • Custom style guide linting and spell checking
  • BigCommerce-specific terminology and glossary management

Comprehensive Coverage:

  • Prerequisites (Node.js 18+, npm)
  • File structure and navigation
  • Validation scenarios for different change types
  • External dependencies and tools
  • Performance expectations and timing

File Location

The instructions are located in AGENTS.md in the repository root, following the open standard for AI coding agent instructions.

Validation Process

All commands and workflows in the instructions have been thoroughly tested:

  • Fresh repository setup from scratch
  • Complete validation workflow execution
  • Test changes to verify linting catches issues
  • Timing measurements for accurate timeout recommendations

The instructions follow the imperative tone requirement ("Run this command", "Do not do this") and include explicit warnings about not canceling long-running operations.

Fixes #1060.

Warning

developer.bigcommerce.com

  • Triggering command: curl -s -I REDACTED (dns block)
  • Triggering command: curl -s -o /dev/null -w %{http_code} REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 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.

Copy link
Author

Copilot AI commented Aug 24, 2025

@bookernath 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

@bookernath
Copy link
Contributor

@copilot great, let's get started

@Copilot Copilot AI changed the title [WIP] ✨ Set up Copilot instructions Add comprehensive GitHub Copilot coding agent instructions for BigCommerce docs repository Aug 24, 2025
@Copilot Copilot AI requested a review from bookernath August 24, 2025 04:47
Copilot finished work on behalf of bookernath August 24, 2025 04:47
Copy link
Author

Copilot AI commented Aug 24, 2025

@copilot great, let's get started

Perfect! I've already created the comprehensive .github/copilot-instructions.md file for this repository. The instructions include validated setup commands, repository structure guide, validation requirements for both MDX and OpenAPI files, troubleshooting tips, and timing expectations. All commands have been tested and the file is ready for use. Commit: 1213ee5

Copilot finished work on behalf of bookernath August 24, 2025 04:49
@bookernath
Copy link
Contributor

@copilot can you move this to AGENTS.md instead to follow that open standard?

…NTS.md to follow open standard

Co-authored-by: bookernath <[email protected]>
Copy link
Author

Copilot AI commented Sep 7, 2025

@copilot can you move this to AGENTS.md instead to follow that open standard?

Done! I've moved the copilot instructions from .github/copilot-instructions.md to AGENTS.md in the repository root to follow the open standard. The content remains the same, just relocated as requested. Commit: 1f9b2a6

Copilot finished work on behalf of bookernath September 7, 2025 23:10
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.

✨ Set up Copilot instructions
2 participants