Skip to content
cccskills
FreePublished on GitHub

opencode-optimization

Optimize OpenCode IDE configuration and workflows for this portfolio

The English summary is being prepared. Showing the original description.

Works withVercel
See how to install

Files included (1)

  • SKILL.md3.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

OpenCode Optimization Skill

Optimize OpenCode IDE configuration for maximum productivity with MiMo v2.5 on this portfolio.

When to use this skill

  • Setting up OpenCode IDE for this portfolio
  • Adding or updating MCP servers in opencode.json
  • Configuring LSP servers for better code intelligence
  • Troubleshooting MCP/LSP server issues

Current MCP servers (opencode.json)

ServerPurposeRequires API key
chrome-devtoolsBrowser debugging, performance traces, screenshotsNo
@21st-dev/magicGenerate UI components from natural languageYes (API_KEY_21ST_DEV)
@magicuidesign/mcpMagic UI animated components (marquee, bento, dock)No
githubGitHub API — issues, PRs, repos, code searchYes (GITHUB_TOKEN)
filesystemFile system read/write with path restrictionsNo
sequential-thinkingStructured reasoning, step-by-step problem solvingNo
memoryKnowledge graph memory for persistent contextNo
brave-searchWeb search for docs, Stack Overflow, API referencesYes (BRAVE_API_KEY)
fetchFetch and analyze web content, API docsNo
puppeteerAdvanced browser automation, screenshots, scrapingNo
sqliteLocal SQLite for caching, analytics, data analysisNo
sanity-cmsDirect Sanity CMS operations, schema, content queriesYes (SANITY_AUTH_TOKEN)
sentrySentry error tracking and performance monitoringYes (SENTRY_AUTH_TOKEN)
vercelVercel deployment, edge functions, analyticsYes (VERCEL_TOKEN)
dockerDocker container managementNo

Current LSP servers

ServerExtensionsPurpose
typescript.ts, .tsx, .js, .jsxType checking, inlay hints, go-to-definition
eslint.ts, .tsx, .js, .jsxReal-time linting, auto-fix
prettier.ts, .tsx, .js, .jsx, .css, .json, .mdCode formatting
tailwindcss.ts, .tsx, .js, .jsx, .cssTailwind class completion, validation
html.html, .htmHTML validation, formatting
css.css, .scss, .lessCSS validation, completion
json.json, .jsoncJSON schema validation
markdown.md, .mdxMarkdown editing
graphql.graphql, .gqlGraphQL schema validation (not actively used)
yaml.yaml, .ymlYAML validation
dockerfileDockerfileDockerfile linting

Workflow

Adding a new MCP server

  1. Edit opencode.json at the repo root
  2. Add the server under "mcp":
{
  "mcp": {
    "server-name": {
      "type": "local",
      "command": ["npx", "-y", "package-name@latest"],
      "env": {
        "API_KEY": "${ENVIRONMENT_VARIABLE}"
      },
      "description": "What this server does"
    }
  }
}
  1. Restart OpenCode to pick up changes

Adding a new LSP server

  1. Edit opencode.json at the repo root
  2. Add the server under "lsp":
{
  "lsp": {
    "language-name": {
      "command": "npx",
      "args": ["-y", "language-server-package", "--stdio"],
      "extensions": [".ext"]
    }
  }
}
  1. Restart OpenCode

Troubleshooting MCP servers

Server not starting:

  1. Check the command in opencode.json is correct
  2. Verify required environment variables are set
  3. Check OpenCode logs for errors

Server crashes:

  1. Try running the command manually in terminal
  2. Check for version conflicts
  3. Update to latest version

Checklist

  • MCP servers configured in opencode.json
  • LSP servers enabled for all file types
  • Environment variables set for authenticated servers
  • Servers restart cleanly after config changes

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Audit and fix accessibility issues across the portfolio to ensure WCAG 2.1 AA compliance.

The English summary is being prepared. Showing the original description.

PP-Namias/Portfolio2Updated Oct 16, 2026

Creates a new blog post document in the Sanity studio. Use when the user wants to write a blog post, publish an article, or schedule a future post.

The English summary is being prepared. Showing the original description.

PP-Namias/Portfolio2Updated Oct 16, 2026

Creates a new certification document in the Sanity studio. Use when the user wants to add a credential, certificate, or professional accreditation to the Certifications collection.

The English summary is being prepared. Showing the original description.

PP-Namias/Portfolio2Updated Oct 16, 2026

Adds a new skill MD file to the studio's skills collection. Use when the user wants to author a new step-by-step recipe for the studio's in-app Skills tool or the .agents mirror.

The English summary is being prepared. Showing the original description.

PP-Namias/Portfolio2Updated Oct 16, 2026

Creates a new project document in the Sanity studio. Use when the user wants to add a new portfolio project, a case study, or a work sample to the Projects collection.

The English summary is being prepared. Showing the original description.

PP-Namias/Portfolio2Updated Oct 16, 2026

Creates a new experience document in the Sanity studio. Use when the user wants to add a job, role, internship, or work history entry to the Experience collection.

The English summary is being prepared. Showing the original description.

PP-Namias/Portfolio2Updated Oct 16, 2026

See all skills by PP-Namias

Report a problem with this skill