line-bot-development

Integrate LINE Messaging API webhook handlers and commands into Python applications.

1|Updated Oct 16, 2025
One-click install
npx skills add https://github.com/forever19735/Garbage --skill line-bot-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: line-bot-development
Source: https://github.com/forever19735/Garbage/tree/main/.agent/skills/line-bot-development
Command: npx skills add https://github.com/forever19735/Garbage --skill line-bot-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a ready-to-use blueprint for building and maintaining LINE Messaging API integrations in Python, enabling webhook handling, event processing, and bot command execution with minimal boilerplate.

Core Features & Use Cases

  • Webhook handling: Build robust webhook endpoints to process LINE events (messages, joins, leaves) for multiple groups.
  • Command implementation: Add and manage bot commands that respond to users with structured messages.
  • Debug and test: Quickly test bot behavior in LINE groups and iterate on responses and flows.

Quick Start

Set up a Python project with Flask and LINE Bot SDK v3, configure environment variables (LINE_CHANNEL_ACCESS_TOKEN, LINE_CHANNEL_SECRET, LINE_GROUP_ID optional), implement the /callback webhook, and run the app to connect to LINE Developers Console.

Frequently Asked Questions about line-bot-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a LINE Messaging API webhook handler in Python?

To build a LINE Messaging API webhook handler in Python, use Flask and the line-bot-sdk-python to process incoming events, messages, and group joins through a /callback endpoint.

What environment variables do I need to configure for a LINE bot?

Configuring a LINE bot requires setting the LINE_CHANNEL_ACCESS_TOKEN and LINE_CHANNEL_SECRET environment variables, with LINE_GROUP_ID as an optional variable for multi-group setups.

Can I use Flask to process LINE bot events across multiple groups?

Yes, Flask can process LINE bot events across multiple groups by implementing webhook handlers that capture join, leave, and message events for structured bot command responses.

How do I add and manage bot commands that respond to LINE users?

Add and manage LINE bot commands by implementing event processing logic within your webhook handler to parse user messages and return structured response messages.

What is the best way to debug and test LINE bot behavior in groups?

The best way to debug LINE bot behavior is to run your Python application, connect it to the LINE Developers Console, and iterate on bot command responses directly within LINE groups.

Why do I need APScheduler for LINE bot development?

APScheduler is used in LINE bot development to schedule and manage automated background tasks or timed message dispatches alongside your Flask webhook event processing.