一键导入
pipedream-workflows
Pipedream serverless workflows — triggers, code steps, pre-built actions, data stores, HTTP. Use when working with pipedream workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pipedream serverless workflows — triggers, code steps, pre-built actions, data stores, HTTP. Use when working with pipedream workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Enforce staged execution discipline on large tasks: written stage plan, parallel sub-agent delegation, failable verification at each stage, and skeptical self-review before delivery. Use when tasks span multiple files, multiple sources, or multiple sessions. Also triggers on "do this thoroughly", "be systematic", "deep work mode", "be thorough".
Write production-quality code from specs — reads requirements, researches patterns, implements with tests, and iterates until verification passes. Use when implementing features, fixing bugs with known root causes, or building new modules.
Ship code to production through a controlled pipeline with verification gates and rollback plans. Use when deploying features, managing CI/CD, running database migrations, or performing post-incident hotfix recovery.
Investigate topics deeply with cross-referenced sources and produce evidence-backed findings. Use when evaluating technologies before adoption, analyzing competitors, or investigating bug root causes across docs and issues.
Read code changes with adversarial intent to find bugs, security holes, logic errors, and performance traps. Use when reviewing PRs, auditing refactoring for regressions, or running pre-deploy safety checks.
Detect and fix code style violations, enforce project conventions, and ensure consistent formatting across the codebase. Use when cleaning lint errors before PRs, migrating linters, or bulk-applying new rules.
基于 SOC 职业分类
| name | pipedream-workflows |
| description | Pipedream serverless workflows — triggers, code steps, pre-built actions, data stores, HTTP. Use when working with pipedream workflows. |
| domain | automation |
| tags | ["automation","pipedream","productivity","workflow","workflows"] |
Pipedream is a serverless integration and compute platform. It lets you build event-driven workflows with Node.js code steps, 1000+ pre-built app actions, and HTTP triggers — all running on serverless infrastructure.
Trigger phrases:
"pipedream workflows"
"Building event-driven automation with custom code"
"Needing serverless compute for integration logic"
"Wanting npm package access in automation workflows"
Building event-driven automation with custom code
Needing serverless compute for integration logic
Wanting npm package access in automation workflows
Building webhook receivers and API endpoints
Replacing custom scripts with managed workflows
Implementation patterns for common use cases with this skill.
Trigger → Code Step → HTTP Request → IF → Pre-built Action → Code Step
| Type | Config |
|---|---|
| HTTP | $.interface.http — webhook endpoint |
| Schedule | $.interface.timer — cron or interval |
| App Event | New email, GitHub issue, etc. |
// Access previous step data
const prevData = $.steps.trigger.event;
// Use npm packages
const axios = require('axios');
const _ = require('lodash');
// Make HTTP request
const response = await axios.get('https://api.example.com/data', {
headers: { Authorization: `Bearer ${$.auth.api_key}` },
});
// Process data
const filtered = _.filter(response.data, item => item.active);
// Return data to next step
return {
count: filtered.length,
items: filtered,
};
// Built-in HTTP request
const response = await $.http.request({
method: 'POST',
url: 'https://api.example.com/webhook',
headers: {
'Content-Type': 'application/json',
},
data: {
event: $.steps.trigger.event.type,
payload: $.steps.process.items,
},
});
return response.data;
// Get value
const count = await $.service.data_store.get('counter') || 0;
// Set value
await $.service.data_store.set('counter', count + 1);
// Delete
await $.service.data_store.delete('counter');
// List keys
const keys = await $.service.data_store.keys();
// Access connected account
const slack = $.app.slack;
const github = $.app.github;
// Use in API calls
const response = await axios.post('https://slack.com/api/chat.postMessage', {
channel: '#alerts',
text: `New event: ${$.steps.trigger.event.type}`,
}, {
headers: { Authorization: `Bearer ${slack.$auth.oauth_access_token}` },
});
// HTTP trigger creates an endpoint like:
// https://endpoint.p.punique.com/abc123
// Handle different methods
if ($.trigger.event.http.method === 'POST') {
return { status: 'received', data: $.trigger.event.body };
}
if ($.trigger.event.http.method === 'GET') {
return { status: 'ok', timestamp: Date.now() };
}
try {
const result = await riskyOperation();
return { success: true, data: result };
} catch (error) {
// Return error to flow (doesn't stop workflow)
return {
success: false,
error: error.message,
step: 'process_data',
};
}
| Pattern | When to Use |
|---|---|
| HTTP Trigger → Process → Respond | API endpoint |
| Schedule → Fetch → Transform → Store | ETL |
| App Event → Code → Notify | Event-driven automation |
| Webhook → Validate → Route | Multi-tenant webhooks |
| Data Store get/set | Stateful workflows |
| Code Step + npm | Complex logic with libraries |
| Error | Cause | Fix |
|---|---|---|
| Step timeout | Long-running code | Optimize or use $.flow.delay() |
| npm package not found | Not in allowed list | Use built-in $.http instead |
| Data Store limit exceeded | Too many keys | Clean up old entries |
| Auth error | Expired token | Reconnect account |
| Rationalization | Reality |
|---|---|
| "Manual is faster for one-off tasks" | One-off tasks become recurring. Automate early, save time later. |
| "I will add error handling later" | You never do. Handle errors from day one. |
| "Automation is overkill" | If you do it twice, automate it. If you do it daily, it is critical infrastructure. |