

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1234567Always follow these steps in order:891. Parameter Schema Update:10 - Locate the parameters file (usually `typescript/src/shared/(namespace)/parameters.ts`)11 - Add new parameters to the Zod schema12 - For each parameter:13 - Define the correct type (e.g., z.number(), z.array(z.string()))14 - Add appropriate validations (e.g., .min(), .max())15 - Mark as .optional() if not required16 - Add .describe() with clear documentation17 - Include examples in the description for complex types18192. Function Implementation Update:20 - Locate the function file (usually `typescript/src/shared/(namespace)/functions.ts`)21 - Add new parameters to the queryArgs object22 - Use spread operator with null checks for optional params23 - Format: `...(params.newParam && {newParam: params.newParam})`24 - Remove any outdated comments25263. Documentation Update:27 - Locate the prompts file (usually named `typescript/src/shared/(namespace)/prompts.ts`)28 - Update the function's prompt string29 - For each parameter add:30 - Parameter name31 - Type information32 - Optional/required status33 - Default value if any34 - Valid range if applicable35 - Example usage for complex types36374. Test Coverage Update:38 - Locate the test file (usually `typescript/src/shared/(namespace)/test/functions.test.ts`)39 - Add/update test cases:40 - Test with default parameters41 - Test with all new parameters42 - Test error scenarios43 - Verify all parameters are correctly passed to the API44 - Ensure proper mock setup and assertions45465. Verification:47 - Ensure all files are consistent with each other48 - Parameter types match between schema and tests49 - Examples in prompts match test cases50 - All optional parameters handle undefined cases51 - Error handling is properly tested5253Example:54When adding 'offset' parameter:551. In parameters.ts:56```typescript57 offset: z58 .number()59 .int()60 .min(0)61 .optional()62 .describe('The number of items to skip before starting to collect the result set.')63```64652. In functions.ts:66```typescript67 queryArgs: {68 ...(params.offset && {offset: params.offset}),69 }70```71723. In prompts.ts:73```typescript74 - offset (int, optional): The number of items to skip before starting to collect the result set.75```76774. In functions.test.ts:78```typescript79 it('should list products with all query parameters', async () => {80 const params = {81 offset: 40,82 // other params...83 };84 // test implementation85 });86```87
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| commercetools/mcp-essentials.cursor/rules/docs.mdc · 13 | Cursor rules | agent-behaviourdocs | 39/100 | 14 days ago | |
| commercetools/mcp-essentials.cursor/rules/main.mdc · 13 | Cursor rules | style | 34/100 | 14 days ago | |
| commercetools/mcp-essentials.cursor/rules/namespace-scopes.mdc · 13 | Cursor rules | archdo-not | 56/100 | 14 days ago | |
| commercetools/mcp-essentials.cursor/rules/project-structure.mdc · 13 | Cursor rules | testlint-formatarchsecurity+1 | 60/100 | 14 days ago | |
| commercetools/mcp-essentials.cursor/rules/refactor-functions.mdc · 13 | Cursor rules | do-notagent-behaviour | 56/100 | 14 days ago | |
| commercetools/mcp-essentials.cursor/rules/test.mdc · 13 | Cursor rules | no sections | 24/100 | 14 days ago | |
| commercetools/mcp-essentials.cursor/rules/updated-new-function.mdc · 13 | Cursor rules | testing-strategyagent-behaviour | 49/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/commercetools-mcp-essentials-cursor-rules-extending-function-params)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.