Skip to content
Skillv1.0.0

ecctl

Project Instructions

by elastic(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from elastic/ecctl (AGENTS.md). Install upstream with npx skills add elastic/ecctl. Copyright stays with the author.

Project Instructions

After code editing

  • When you add, remove or modify files under pkg/formatter/templates/text/, run make bindata to regenerate pkg/formatter/templates/bindata.go. Commit updated bindata.go together with the template changes.
  • When you add, remove of modify commands, run make docs to regenerate the files under docs/. Commit updated docs together with the command changes.
  • Run make format and make lint to verify your code style. If these result in changes, evaluate if the changes are sensible. If they are sensible, commit them together with your code changes.
  • Run make unit to run the unit tests to verify your code changes.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/elastic-ecctl-ecctl/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

elastic-ecctl-ecctl.ocm.jsonjson
{
  "ocm": "1",
  "id": "elastic-ecctl-ecctl",
  "kind": "skill",
  "name": "ecctl",
  "description": "Project Instructions",
  "publisher": "elastic",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Project Instructions"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/elastic/ecctl",
      "path": "AGENTS.md",
      "ref": "b051ecff5e8d585d3f40355f1bbb299d11fbb87a",
      "url": "https://github.com/elastic/ecctl/blob/b051ecff5e8d585d3f40355f1bbb299d11fbb87a/AGENTS.md",
      "key": "elastic/ecctl/AGENTS.md"
    }
  },
  "instructions": "# Project Instructions\n\n## After code editing\n* When you add, remove or modify files under pkg/formatter/templates/text/, run `make bindata` to regenerate pkg/formatter/templates/bindata.go. Commit updated bindata.go together with the template changes.\n* When you add, remove of modify commands, run `make docs` to regenerate the files under docs/. Commit updated docs together with the command changes.\n* Run `make format` and `make lint` to verify your code style. If these result in changes, evaluate if the changes are sensible. If they are sensible, commit them together with your code changes.\n",
  "cost": {
    "context_tokens": 167
  }
}

Fetch it by URL: GET /api/v1/registry/elastic-ecctl-ecctl/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.