Example AgentSync library demonstrating TypeScript best practices, testing guidelines, and common commands.
Note: Any secrets in
mcp.jsonuse placeholder tokens like{GITHUB_TOKEN}. Do not paste real secrets into this repo. Configure real values via your local environment or user-level config only.
Option 1: Via GitHub (recommended for private/custom libraries)
{
"extends": ["github:baranovxyz/agentsync-example-typescript"],
"tools": ["cursor", "claude"]
}Option 2: Via npm (future support in v0.4.0+)
{
"extends": ["npm:@agentsync/example-typescript"],
"tools": ["cursor", "claude"]
}Then sync:
agentsync synctypescript-strict.md- TypeScript strict mode settingstesting.md- Testing guidelines and coverage targetsapi-design.md- API design best practices
commit.md- Generate conventional commit messagesreview.md- Code review checklisttest.md- Run tests with coverage
context7- Up-to-date documentation lookupgithub- GitHub API access
After sync, files appear as:
.cursor/rules/
├── typescript-example:typescript-strict.mdc
├── typescript-example:testing.mdc
└── typescript-example:api-design.mdc
.cursor/commands/
├── typescript-example:commit.md
├── typescript-example:review.md
└── typescript-example:test.md
Default namespace: typescript-example (from library.json)
Override in your config:
{
"extends": [{
"source": "github:baranovxyz/agentsync-example-typescript",
"namespace": "ts"
}]
}MIT