Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/prompts/migrateWechatPrompt.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import { GetPromptResult } from '@modelcontextprotocol/sdk/types';
import fs from 'fs';
import path from 'path';
import { deviceAppName } from '../brand';
/**
* A skill that initiates the WeChat Mini Program to TCSAS migration process.
* A skill that initiates the WeChat Mini Program to {deviceAppName} migration process.
* It does this by loading the detailed expert prompt from a markdown file
* and presenting it to the user.
*/
export const migrateWechatPrompt = {
name: 'migrate-wechat',
title: 'WeChat to TCSAS Migration Assistant',
description: 'Starts the guided process to migrate a WeChat Mini Program to a TCSAS Mini Program.',
title: `WeChat to ${deviceAppName} Migration Assistant`,
description: `Starts the guided process to migrate a WeChat Mini Program to a ${deviceAppName} Mini Program.`,
handler: async (): Promise<GetPromptResult> => {
try {
// Resolve the path to the prompt file relative to the project root
Expand Down