Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
- `nodes/Capacities/*.ts` houses the TypeScript descriptions and helpers that surface Capacities resources in n8n; keep new operations grouped by resource and export them through `ResourceDescription.ts`.
Sign in to like and favorite skills
nodes/Capacities/*.ts houses the TypeScript descriptions and helpers that surface Capacities resources in n8n; keep new operations grouped by resource and export them through ResourceDescription.ts.credentials/CapacitiesApi.credentials.ts defines the shared bearer-token credential; extend it when additional auth fields are required.dist/ contains the compiled JavaScript that ships to npm. Never edit generated files directly—run a build instead. index.js simply exposes the built bundles.tsconfig.json, .eslintrc.js, and .prettierrc.js govern compilation, linting, and formatting; keep changes coordinated.pnpm install # install dependencies pnpm dev # TypeScript watch build for local iteration pnpm build # clean, compile, and copy image assets into dist/ pnpm lint # run ESLint against nodes, credentials, and package.json pnpm test # alias for pnpm lint, used by CI pnpm format # apply Prettier to nodes/ and credentials/
Stick to one package manager per branch; pnpm is preferred and the lockfile is tracked.
pnpm format).eslint-plugin-n8n-nodes-base guidance; lint warnings usually mean the node will not pass community review.GeneralFunctions.ts and reuse translation strings to avoid duplicate copy.pnpm lint before every push.test block in the credential file.nodes/Capacities/__tests__; they mock Capacities API calls via requestWithAuthentication stubs to keep tests unit-scoped.pnpm test (ts-jest) to execute the node description and helper coverage:pnpm test
Add save daily note action); dependency bumps follow the existing Bump package from X to Y pattern.dist/ is rebuilt or explicitly state when the build will be handled post-merge to keep npm artifacts in sync.capacitiesApi.https://api.capacities.io rates and update request defaults if base URLs change.