forkfeed-mcp 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +23 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -176,6 +176,29 @@ server.tool('forkfeed_status', 'Check your current forkfeed content: which forks
|
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
|
+
// ── Prompt: /forkfeed ──────────────────────────────────────────────────
|
|
180
|
+
server.prompt('forkfeed', 'Turn GitHub commits into swipeable forkfeed content. Analyzes your repo, generates 8-card feeds, and pushes them live.', async () => ({
|
|
181
|
+
messages: [
|
|
182
|
+
{
|
|
183
|
+
role: 'user',
|
|
184
|
+
content: {
|
|
185
|
+
type: 'text',
|
|
186
|
+
text: `Turn the commits in this repo into forkfeed content. Follow these steps exactly:
|
|
187
|
+
|
|
188
|
+
1. Call **forkfeed_guide** to get the full content generation guide. Read it carefully.
|
|
189
|
+
2. Call **forkfeed_images** to get the IT Scenes image catalog (200 scenes + 30 backgrounds).
|
|
190
|
+
3. Detect the current repo from the working directory. Use git to get commit data.
|
|
191
|
+
4. Ask which commits to process (default: latest). Do NOT ask about image style (always use IT Scenes).
|
|
192
|
+
5. Fetch the diff, analyze it, and generate the 8-card manifest following the guide exactly.
|
|
193
|
+
6. Match images from the catalog to card content by tags and semantic similarity.
|
|
194
|
+
7. Validate the manifest against the checklist in the guide.
|
|
195
|
+
8. Call **forkfeed_push** with the complete manifest to publish it.
|
|
196
|
+
|
|
197
|
+
Start now. Detect the repo and ask which commits to process.`,
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
],
|
|
201
|
+
}));
|
|
179
202
|
// ── Start ──────────────────────────────────────────────────────────────
|
|
180
203
|
const transport = new StdioServerTransport();
|
|
181
204
|
await server.connect(transport);
|