Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
21
Slack bot using `@slack/bolt` with Socket Mode. Entry point: `src/index.ts`
Sign in to like and favorite skills
Slack bot using
@slack/bolt with Socket Mode. Entry point: src/index.ts
src/mentionFeatures/)Triggered by
@Profesor Rafał Wilczur mentions. Each feature exports:
question: (optional if use matcher) string[] - trigger keywordsmiddleware: async handlermatcher: (optional) custom pattern matchingFlow:
app_mention event → pattern matchers → keyword lookup → default to help
src/messageFeatures/)Pattern-based responses using
app.message(pattern, middleware)
src/membersEvents/)React to
member_joined_channel and member_left_channel events
src/cronFeatures/)Scheduled jobs using
node-cron. Each feature exports:
schedule: string - cron expression (e.g., '0 9 * * 1-5')handler: async function with app an channel parametersFlow: App starts → cron jobs scheduled → handlers execute on schedule
src/ ├── index.ts # App init ├── mentionFeatures/ # @mention features ├── messageFeatures/ # Pattern-based features ├── membersEvents/ # User activity handlers ├── cronFeatures/ # Scheduled jobs └── utils/ # Shared utilities
mentionFeatures/, add to array in index, then update src/mentionFeatures/help.ts to document the new featuremessageFeatures/, use app.message()membersEvents/, use app.event()cronFeatures/, add to features array in indexSLACK_BOT_TOKEN, SLACK_SIGNING_SECRET, SLACK_APP_TOKEN, GROQ_API_KEY, PORT, MAIN_CHANNEL, WEATHER_API_KEY