my-plugin/
├── cosmo/ # Root project directory
│ ├── README.md # Project documentation
│ ├── Makefile # Makefile for your plugin
│ ├── config.yaml # Router configuration
│ └── graph.yaml # Supergraph configuration
│
└── plugins/ # Plugins directory
└── my-plugin/ # Your plugin directory
├── .cursor # Cursor rules
├── README.md # Documentation and getting started guide
├── Makefile # Automation scripts
├── go.mod # Go module definition
├── go.sum # Go module sum
│
├── src/ # Source code directory
│ ├── main.go # Main implementation file
│ └── main_test.go # Test file
│
└── generated/ # Generated files (do not edit)
├── mapping.json # GraphQL to gRPC mapping
├── service.proto # Protocol Buffers definition
└── service.proto.lock.json # Lock file for Proto generation