[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7932ZFS52NPQ0A21RNE7X85":3,"skill-same:01M7932ZFS52NPQ0A21RNE7X85":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M7932ZFS52NPQ0A21RNE7X85","maintainx-local-dev-loop",null,"Set up a local development loop for MaintainX integration development.\nUse when configuring dev environment, testing API calls locally,\nor setting up a sandbox workflow for MaintainX.\nTrigger with phrases like \"maintainx dev setup\", \"maintainx local\",\n\"maintainx development environment\", \"maintainx testing setup\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--maintainx-pack--maintainx-local-dev-loop\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: maintainx-local-dev-loop\ndescription: |\n  Set up a local development loop for MaintainX integration development.\n  Use when configuring dev environment, testing API calls locally,\n  or setting up a sandbox workflow for MaintainX.\n  Trigger with phrases like \"maintainx dev setup\", \"maintainx local\",\n  \"maintainx development environment\", \"maintainx testing setup\".\nallowed-tools: Read, Write, Edit, Bash(npm:*), Bash(node:*), Bash(docker:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\ntags: [saas, maintainx, api, testing, workflow]\n---\n# MaintainX Local Dev Loop\n\n## Overview\nSet up an efficient local development workflow for building and testing MaintainX integrations with hot reload, mock servers, and automated testing.\n\n## Prerequisites\n- Completed `maintainx-install-auth` setup\n- Node.js 18+ installed\n- `MAINTAINX_API_KEY` environment variable set\n\n## Instructions\n\n### Step 1: Initialize TypeScript Project\n\n```bash\nmkdir maintainx-integration && cd maintainx-integration\nnpm init -y\nnpm install axios dotenv\nnpm install -D typescript tsx vitest @types\u002Fnode\nnpx tsc --init --target ES2022 --module NodeNext --moduleResolution nodenext --outDir dist\n```\n\nCreate `tsconfig.json` paths:\n```json\n{\n  \"compilerOptions\": {\n    \"target\": \"ES2022\",\n    \"module\": \"NodeNext\",\n    \"moduleResolution\": \"nodenext\",\n    \"outDir\": \"dist\",\n    \"strict\": true,\n    \"esModuleInterop\": true\n  },\n  \"include\": [\"src\u002F**\u002F*\"]\n}\n```\n\n### Step 2: Project Structure\n\n```\nmaintainx-integration\u002F\n├── src\u002F\n│   ├── client.ts          # MaintainX API client (from install-auth)\n│   ├── work-orders.ts     # Work order service layer\n│   └── sync.ts            # Data sync logic\n├── tests\u002F\n│   ├── client.test.ts     # Unit tests with mocks\n│   └── integration.test.ts # Live API tests\n├── .env                   # MAINTAINX_API_KEY=...\n├── .env.example           # MAINTAINX_API_KEY=your-key-here\n├── package.json\n└── tsconfig.json\n```\n\n### Step 3: Dev Scripts in package.json\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"tsx watch src\u002Findex.ts\",\n    \"test\": \"vitest run\",\n    \"test:watch\": \"vitest\",\n    \"test:integration\": \"INTEGRATION=true vitest run tests\u002Fintegration.test.ts\",\n    \"build\": \"tsc\",\n    \"repl\": \"tsx src\u002Frepl.ts\"\n  }\n}\n```\n\n### Step 4: Write Unit Tests with Mocked API\n\n```typescript\n\u002F\u002F tests\u002Fclient.test.ts\nimport { describe, it, expect, vi, beforeEach } from 'vitest';\nimport axios from 'axios';\n\nvi.mock('axios');\n\ndescribe('MaintainXClient', () => {\n  beforeEach(() => {\n    vi.resetAllMocks();\n    process.env.MAINTAINX_API_KEY = 'test-key-123';\n  });\n\n  it('creates a work order', async () => {\n    const mockResponse = {\n      data: { id: 1, title: 'Test WO', status: 'OPEN' },\n    };\n    vi.mocked(axios.create).mockReturnValue({\n      post: vi.fn().mockResolvedValue(mockResponse),\n      interceptors: { response: { use: vi.fn() } },\n    } as any);\n\n    const { MaintainXClient } = await import('..\u002Fsrc\u002Fclient');\n    const client = new MaintainXClient();\n    const result = await client.createWorkOrder({ title: 'Test WO' });\n\n    expect(result.data.title).toBe('Test WO');\n    expect(result.data.status).toBe('OPEN');\n  });\n\n  it('paginates work orders', async () => {\n    const page1 = { data: { workOrders: [{ id: 1 }], cursor: 'abc' } };\n    const page2 = { data: { workOrders: [{ id: 2 }], cursor: null } };\n    const getMock = vi.fn()\n      .mockResolvedValueOnce(page1)\n      .mockResolvedValueOnce(page2);\n\n    vi.mocked(axios.create).mockReturnValue({\n      get: getMock,\n      interceptors: { response: { use: vi.fn() } },\n    } as any);\n\n    const { MaintainXClient } = await import('..\u002Fsrc\u002Fclient');\n    const client = new MaintainXClient();\n\n    const all = [];\n    let cursor: string | undefined;\n    do {\n      const { data } = await client.getWorkOrders({ cursor });\n      all.push(...data.workOrders);\n      cursor = data.cursor;\n    } while (cursor);\n\n    expect(all).toHaveLength(2);\n  });\n});\n```\n\n### Step 5: Interactive REPL\n\n```typescript\n\u002F\u002F src\u002Frepl.ts\nimport * as repl from 'node:repl';\nimport 'dotenv\u002Fconfig';\nimport { MaintainXClient } from '.\u002Fclient';\n\nconst client = new MaintainXClient();\nconsole.log('MaintainX REPL ready. `client` is available.');\nconsole.log('Try: await client.getWorkOrders({ limit: 3 })');\n\nconst r = repl.start({ prompt: 'maintainx> ' });\nr.context.client = client;\n```\n\n```bash\n# Start REPL\nnpm run repl\n# maintainx> const { data } = await client.getWorkOrders({ limit: 3 })\n# maintainx> data.workOrders.map(wo => wo.title)\n```\n\n## Output\n- TypeScript project configured with `tsx watch` for hot reload\n- Vitest unit tests with mocked MaintainX API responses\n- Interactive REPL for exploring the API\n- `.env.example` template for team onboarding\n- Dev\u002Ftest\u002Fbuild scripts in `package.json`\n\n## Error Handling\n| Issue | Solution |\n|-------|----------|\n| `MAINTAINX_API_KEY` undefined | Copy `.env.example` to `.env` and fill in your key |\n| 429 Rate Limited during dev | Add delays between calls, use mocks for unit tests |\n| TypeScript import errors | Ensure `moduleResolution: \"nodenext\"` in tsconfig |\n| `tsx` not found | Install with `npm i -D tsx` |\n\n## Resources\n- [MaintainX API Reference](https:\u002F\u002Fdeveloper.maintainx.com\u002Freference)\n- [Vitest Documentation](https:\u002F\u002Fvitest.dev\u002F)\n- [tsx - TypeScript Execute](https:\u002F\u002Fgithub.com\u002Fprivatenumber\u002Ftsx)\n\n## Next Steps\nFor SDK patterns and best practices, see `maintainx-sdk-patterns`.\n\n## Examples\n\n**Docker-based dev environment**:\n\n```dockerfile\n# Dockerfile.dev\nFROM node:20-slim\nWORKDIR \u002Fapp\nCOPY package*.json .\u002F\nRUN npm install\nCOPY . .\nCMD [\"npm\", \"run\", \"dev\"]\n```\n\n```yaml\n# docker-compose.dev.yml\nservices:\n  app:\n    build: { dockerfile: Dockerfile.dev }\n    env_file: .env\n    volumes: [\".\u002Fsrc:\u002Fapp\u002Fsrc\"]\n```\n\n**Run integration tests against live API**:\n\n```bash\nINTEGRATION=true npm run test:integration\n```\n","# MaintainX Local Dev Loop\n\n## Overview\nSet up an efficient local development workflow for building and testing MaintainX integrations with hot reload, mock servers, and automated testing.\n\n## Prerequisites\n- Completed `maintainx-install-auth` setup\n- Node.js 18+ installed\n- `MAINTAINX_API_KEY` environment variable set\n\n## Instructions\n\n### Step 1: Initialize TypeScript Project\n\n```bash\nmkdir maintainx-integration && cd maintainx-integration\nnpm init -y\nnpm install axios dotenv\nnpm install -D typescript tsx vitest @types\u002Fnode\nnpx tsc --init --target ES2022 --module NodeNext --moduleResolution nodenext --outDir dist\n```\n\nCreate `tsconfig.json` paths:\n```json\n{\n  \"compilerOptions\": {\n    \"target\": \"ES2022\",\n    \"module\": \"NodeNext\",\n    \"moduleResolution\": \"nodenext\",\n    \"outDir\": \"dist\",\n    \"strict\": true,\n    \"esModuleInterop\": true\n  },\n  \"include\": [\"src\u002F**\u002F*\"]\n}\n```\n\n### Step 2: Project Structure\n\n```\nmaintainx-integration\u002F\n├── src\u002F\n│   ├── client.ts          # MaintainX API client (from install-auth)\n│   ├── work-orders.ts     # Work order service layer\n│   └── sync.ts            # Data sync logic\n├── tests\u002F\n│   ├── client.test.ts     # Unit tests with mocks\n│   └── integration.test.ts # Live API tests\n├── .env                   # MAINTAINX_API_KEY=...\n├── .env.example           # MAINTAINX_API_KEY=your-key-here\n├── package.json\n└── tsconfig.json\n```\n\n### Step 3: Dev Scripts in package.json\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"tsx watch src\u002Findex.ts\",\n    \"test\": \"vitest run\",\n    \"test:watch\": \"vitest\",\n    \"test:integration\": \"INTEGRATION=true vitest run tests\u002Fintegration.test.ts\",\n    \"build\": \"tsc\",\n    \"repl\": \"tsx src\u002Frepl.ts\"\n  }\n}\n```\n\n### Step 4: Write Unit Tests with Mocked API\n\n```typescript\n\u002F\u002F tests\u002Fclient.test.ts\nimport { describe, it, expect, vi, beforeEach } from 'vitest';\nimport axios from 'axios';\n\nvi.mock('axios');\n\ndescribe('MaintainXClient', () => {\n  beforeEach(() => {\n    vi.resetAllMocks();\n    process.env.MAINTAINX_API_KEY = 'test-key-123';\n  });\n\n  it('creates a work order', async () => {\n    const mockResponse = {\n      data: { id: 1, title: 'Test WO', status: 'OPEN' },\n    };\n    vi.mocked(axios.create).mockReturnValue({\n      post: vi.fn().mockResolvedValue(mockResponse),\n      interceptors: { response: { use: vi.fn() } },\n    } as any);\n\n    const { MaintainXClient } = await import('..\u002Fsrc\u002Fclient');\n    const client = new MaintainXClient();\n    const result = await client.createWorkOrder({ title: 'Test WO' });\n\n    expect(result.data.title).toBe('Test WO');\n    expect(result.data.status).toBe('OPEN');\n  });\n\n  it('paginates work orders', async () => {\n    const page1 = { data: { workOrders: [{ id: 1 }], cursor: 'abc' } };\n    const page2 = { data: { workOrders: [{ id: 2 }], cursor: null } };\n    const getMock = vi.fn()\n      .mockResolvedValueOnce(page1)\n      .mockResolvedValueOnce(page2);\n\n    vi.mocked(axios.create).mockReturnValue({\n      get: getMock,\n      interceptors: { response: { use: vi.fn() } },\n    } as any);\n\n    const { MaintainXClient } = await import('..\u002Fsrc\u002Fclient');\n    const client = new MaintainXClient();\n\n    const all = [];\n    let cursor: string | undefined;\n    do {\n      const { data } = await client.getWorkOrders({ cursor });\n      all.push(...data.workOrders);\n      cursor = data.cursor;\n    } while (cursor);\n\n    expect(all).toHaveLength(2);\n  });\n});\n```\n\n### Step 5: Interactive REPL\n\n```typescript\n\u002F\u002F src\u002Frepl.ts\nimport * as repl from 'node:repl';\nimport 'dotenv\u002Fconfig';\nimport { MaintainXClient } from '.\u002Fclient';\n\nconst client = new MaintainXClient();\nconsole.log('MaintainX REPL ready. `client` is available.');\nconsole.log('Try: await client.getWorkOrders({ limit: 3 })');\n\nconst r = repl.start({ prompt: 'maintainx> ' });\nr.context.client = client;\n```\n\n```bash\n# Start REPL\nnpm run repl\n# maintainx> const { data } = await client.getWorkOrders({ limit: 3 })\n# maintainx> data.workOrders.map(wo => wo.title)\n```\n\n## Output\n- TypeScript project configured with `tsx watch` for hot reload\n- Vitest unit tests with mocked MaintainX API responses\n- Interactive REPL for exploring the API\n- `.env.example` template for team onboarding\n- Dev\u002Ftest\u002Fbuild scripts in `package.json`\n\n## Error Handling\n| Issue | Solution |\n|-------|----------|\n| `MAINTAINX_API_KEY` undefined | Copy `.env.example` to `.env` and fill in your key |\n| 429 Rate Limited during dev | Add delays between calls, use mocks for unit tests |\n| TypeScript import errors | Ensure `moduleResolution: \"nodenext\"` in tsconfig |\n| `tsx` not found | Install with `npm i -D tsx` |\n\n## Resources\n- [MaintainX API Reference](https:\u002F\u002Fdeveloper.maintainx.com\u002Freference)\n- [Vitest Documentation](https:\u002F\u002Fvitest.dev\u002F)\n- [tsx - TypeScript Execute](https:\u002F\u002Fgithub.com\u002Fprivatenumber\u002Ftsx)\n\n## Next Steps\nFor SDK patterns and best practices, see `maintainx-sdk-patterns`.\n\n## Examples\n\n**Docker-based dev environment**:\n\n```dockerfile\n# Dockerfile.dev\nFROM node:20-slim\nWORKDIR \u002Fapp\nCOPY package*.json .\u002F\nRUN npm install\nCOPY . .\nCMD [\"npm\", \"run\", \"dev\"]\n```\n\n```yaml\n# docker-compose.dev.yml\nservices:\n  app:\n    build: { dockerfile: Dockerfile.dev }\n    env_file: .env\n    volumes: [\".\u002Fsrc:\u002Fapp\u002Fsrc\"]\n```\n\n**Run integration tests against live API**:\n\n```bash\nINTEGRATION=true npm run test:integration\n```\n",{"name":5,"tags":24,"author":30,"license":15,"version":31,"description":32,"allowed-tools":33,"compatible-with":34},[25,26,27,28,29],"saas","maintainx","api","testing","workflow","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Set up a local development loop for MaintainX integration development.\nUse when configuring dev environment, testing API calls locally,\nor setting up a sandbox workflow for MaintainX.\nTrigger with phrases like \"maintainx dev setup\", \"maintainx local\",\n\"maintainx development environment\", \"maintainx testing setup\".\n","Read, Write, Edit, Bash(npm:*), Bash(node:*), Bash(docker:*)","claude-code, codex, openclaw","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--maintainx-pack--maintainx-local-dev-loop",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill maintainx-local-dev-loop",{"tool":50,"command":51},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill maintainx-local-dev-loop",{"tool":53,"command":54},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill maintainx-local-dev-loop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--maintainx-pack--maintainx-local-dev-loop\u002FSKILL.md",true,[],[59,66,73,80,87,95],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]