Skip to content

Conversation

@pyramation
Copy link
Contributor

Summary

Adds a new agent skill documenting the cnc CLI execution engine feature (merged in constructive-io/constructive#657). This skill teaches agents how to:

  • Manage API contexts (endpoint + credentials) similar to kubectl contexts
  • Configure authentication tokens
  • Execute raw GraphQL queries against Constructive APIs

The skill follows the format established in AGENTS.md with frontmatter, trigger phrases, quick start, and CLI reference sections.

Review & Testing Checklist for Human

  • Verify command accuracy: Cross-reference the documented commands against the actual implementation in packages/cli/src/commands/ (context.ts, auth.ts, execute.ts) to ensure they match
  • Check environment variables section: The docs mention CNC_ENDPOINT and CNC_TOKEN environment variables - verify these are actually implemented in the CLI
  • Verify --expires flag: The auth section documents --expires for set-token - confirm this flag exists

Test plan: Install the cnc CLI from the constructive repo and run through the Quick Start section to verify the documented workflow works end-to-end.

Notes

Adds skill documentation for the cnc CLI execution engine:
- Context management (create, list, use, current, delete)
- Authentication (set-token, status, logout)
- Query execution (--query, --file, --variables)

Similar to kubectl contexts - manages endpoint + credentials configurations.
@devin-ai-integration
Copy link

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@pyramation pyramation merged commit e06bc94 into main Jan 27, 2026
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.

2 participants