lcp-go-lcpd

Implement and validate the go-lcpd daemon in Go with TDD and lint workflows.

2|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/YusukeShimizu/lightning-compute-protocol --skill lcp-go-lcpd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lcp-go-lcpd
Source: https://github.com/YusukeShimizu/lightning-compute-protocol/tree/main/.codex/skills/lcp-go-lcpd
Command: npx skills add https://github.com/YusukeShimizu/lightning-compute-protocol --skill lcp-go-lcpd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides implementing and validating the go-lcpd daemon and tooling in Go, ensuring a robust, well-tested foundation for Lightning Compute Protocol components.

Core Features & Use Cases

  • Go-based daemon development: Build, test, and maintain the go-lcpd daemon and related tools in the go-lcpd module.
  • Protocol-aligned implementation: Ensure compliance with LCP v0.2 by referencing docs/protocol/protocol.md and go-lcpd/spec.md.
  • Quality-focused workflow: Enforce TDD, lint, and automated validation via make test, make lint, and make gen workflows.

Quick Start

Clone the repository, install Go, and run make test to verify the codebase. Then run go test ./... and make lint to ensure quality. Review docs/go-lcpd/docs/ to align with the spec.

Frequently Asked Questions about lcp-go-lcpd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Go daemon that complies with the Lightning Compute Protocol v0.2 spec?

To build a Go daemon compliant with the Lightning Compute Protocol v0.2, implement the go-lcpd module by strictly aligning code with go-lcpd/spec.md and docs/protocol/protocol.md, then validate using make test and make lint.

What's the best way to enforce TDD and linting in a Golang daemon project?

The best way to enforce TDD and linting in a Golang daemon project is running the make test, make lint, and make gen workflows to validate code quality and ensure protocol spec compliance across local and CI environments.

How do I validate my Go-based daemon against its design docs?

To validate your Go-based daemon against design docs, run make test and go test ./... to verify the codebase, then review docs/go-lcpd/docs/ to ensure your implementation aligns with the protocol specification.

Do I need to install Go locally to test and maintain the go-lcpd module?

Yes, you need to install Go locally to test and maintain the go-lcpd module. After cloning the repository, run make test to verify the codebase and make lint to enforce quality standards within your local environment.

Why does my LCP daemon implementation fail CI lint checks?

Your LCP daemon implementation may fail CI lint checks if the code deviates from the protocol spec or design docs. Running make lint locally identifies quality issues before CI, while make gen ensures generated code compliance.

Can I use this workflow to test tooling for any Go daemon, or just the lcpd module?

This workflow targets the lcpd module specifically. It guides implementing and validating the go-lcpd daemon and related tools in Go, ensuring a robust foundation for Lightning Compute Protocol components rather than general daemon testing.