
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
@ekroon/opencode-copilot-instructions
Advanced tools
An OpenCode plugin that automatically loads GitHub Copilot custom instruction files and injects them into OpenCode's context.
An OpenCode plugin that automatically loads GitHub Copilot custom instruction files and injects them into OpenCode's context.
Add the plugin to your opencode.json:
{
"plugin": ["@ekroon/opencode-copilot-instructions"]
}
OpenCode will automatically install the package from npm on startup.
For development or customization, you can use the local plugin approach:
.opencode/plugin/ directory in your projectbun build ./src/index.ts --outfile=.opencode/plugin/copilot.js --target=node --external:@opencode-ai/plugin.opencode/package.json with dependencies:{
"dependencies": {
"front-matter": "^4.0.2",
"picomatch": "^4.0.0"
}
}
bun install in the .opencode/ directoryThis plugin supports two types of GitHub Copilot instruction files:
Create .github/copilot-instructions.md in your repository root. These instructions apply to all files and are included in every session.
# Project Guidelines
- Use TypeScript strict mode
- Prefer functional programming patterns
- Write comprehensive tests for all new code
Create files matching .github/instructions/*.instructions.md. These instructions only apply when working with files that match the specified glob patterns.
Each file requires YAML frontmatter with an applyTo field:
---
applyTo: "**/*.ts,**/*.tsx"
---
When writing TypeScript code:
- Always use explicit return types
- Prefer interfaces over type aliases for object shapes
- Use branded types for IDs
The applyTo field accepts a comma-separated list of glob patterns.
Instructions are loaded once when the plugin initializes (at OpenCode startup). To reload instructions after changes, restart OpenCode.
Repository-wide instructions: Injected via the experimental.session.compacting hook, ensuring they persist across session compaction.
Path-specific instructions: Injected via the tool.execute.before hook when file operations (read, edit, write) target files matching the applyTo patterns.
The plugin uses picomatch for pattern matching. Supported patterns include:
| Pattern | Description |
|---|---|
* | All files in current directory |
** or **/* | All files in all directories |
*.py | All .py files in current directory |
**/*.py | All .py files recursively |
src/**/*.py | All .py files in src directory recursively |
**/*.{ts,tsx} | All .ts and .tsx files recursively |
Multiple patterns can be combined with commas: **/*.ts,**/*.tsx,**/*.js
MIT
FAQs
An OpenCode plugin that automatically loads GitHub Copilot custom instruction files and injects them into OpenCode's context.
The npm package @ekroon/opencode-copilot-instructions receives a total of 6 weekly downloads. As such, @ekroon/opencode-copilot-instructions popularity was classified as not popular.
We found that @ekroon/opencode-copilot-instructions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.