convez.ai
MCP ServerDevOps & InfraestruturaIntermediário
cognis-digital

Cognis Templates

cognis-digital/templates

Templates starter production-ready para CLI, MCP, Docker e CI

Ver no GitHub
BomPluginScore · de 0 a 100

Conjunto de templates prontos para produção para projetos Python e infraestrutura DevOps. Inclui CLI com argparse, MCP server, Dockerfile otimizado, CI/CD com GitHub Actions, dev container e documentação estruturada. Elimina boilerplate inicial com convenções modernas (pyproject.toml, ruff, mypy, pytest, uv).

Instalação

$npx convez-ai cognis-digital/templates

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
0
Saúde
100%
Último commit
há 4 meses
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Bootstrapear novos projetos Python com estrutura consolidada
  • Criar servidores MCP compatíveis com Claude rapidamente
  • Padronizar CI/CD e containers em equipes
  • Iniciar ferramentas CLI com packaging e testes automatizados

Veredito

Excelente para times que buscam eliminar decisões arquiteturais repetitivas. Templates bem pensados, self-contained e com ferramentas modernas (uv, ruff, mypy). Ideal para quem constrói MCP servers ou CLIs Python em produção.

README

A tradução para o português deste README ainda está na fila.

cognis-templates

Starter templates for Cognis Digital projects. Copy a template, rename it, and ship.

Each template is self-contained, opinionated, and production-ready out of the box: modern tooling, sensible defaults, no boilerplate to delete.

Index

TemplatePathWhat you get
Python CLI toolpython-cli/A pyproject.toml-based CLI with argparse subcommands, packaged entry point, and pytest.
MCP server (Python)mcp-server-python/A Model Context Protocol server using the official mcp SDK, exposing tools over stdio.
Dockerfiledocker/DockerfileA multi-stage, non-root, slim Python image template with a healthcheck.
CI workflow.github/workflows/ci.ymlGitHub Actions: lint (ruff), type-check (mypy), test (pytest) across a matrix.
Dev container.devcontainer/VS Code / Codespaces devcontainer with Python, uv, and pre-wired extensions.
Project READMEtemplates/README.template.mdA fill-in-the-blanks README for a new project.
Issue / PR templates.github/Bug report, feature request, config, and a PR checklist.

How to use

  1. Pick the template directory you want.
  2. Copy it into your new repo (e.g. cp -r python-cli/ ~/projects/my-tool).
  3. Search-and-replace the placeholder names:
    • cognis_tool / cognis-tool -> your package / project name
    • Cognis Digital -> kept as-is for first-party repos
  4. Read the template's own README.md for next steps.

Conventions used across templates

  • Python 3.11+ as the floor.
  • pyproject.toml is the single source of project config (no setup.py, no setup.cfg).
  • uv is the preferred installer/runner, with plain pip always working as a fallback.
  • ruff for both linting and formatting.
  • mypy for type checking, strict where practical.
  • pytest for tests.
  • Containers run as a non-root user and are multi-stage to keep images small.

How it fits

flowchart LR
  U[You / CI / Agent] --> R[templates]
  R --> O[Outputs & artifacts]
  R --> M[MCP / JSON]
  M --> AI[AI agents]
  R --> S[Cognis Neural Suite]

Explore the suite → 🗂️ all tools · ⭐ awesome-cognis · 🔗 cognis-sources

License

MIT. See LICENSE.

Ver o original no GitHub

Bom para

Relacionados