Skip to content

Clean Master Prompt Generator - ระบบจัดการพันธกิจบ้านกาฬสินธุ์ #12

@jgarise

Description

@jgarise

Clean Master Prompt Generator - ระบบจัดการพันธกิจบ้านกาฬสินธุ์

🎯 Clean & Formatted Master Prompt

Copy-Ready Prompt สำหรับ AI Systems:

Create a comprehensive Thai Mission Management System for Kalasin Province with the following detailed specifications:

=== ORGANIZATIONAL STRUCTURE ===

**6 BODIES SYSTEM:**

1. **บอดี้สมเด็จ** (17 groups)
   - Coverage: สมเด็จ, สหสขันธ์ districts
   - Care Leaders: ชนาภา (8), บุญโฮม (3), บุญจันทร์ (2), บุญตา (1), บุญมีแสน (1), บุญมีห้อง (1)
   - Key Villages: สร้างแก้ว ม.3, หนองผ้าอ้อม ม.7, โคกกลางผาเสวย, คำไผ่, ลำหัวยหลัว

2. **บอดี้เมือง 1** (16 groups)
   - Coverage: เมือง, นามน districts
   - Care Leaders: เบญจมัย (5), จีรวรรณ (3), ปุนนภา (5), ผุสดี (3)
   - Key Villages: บ้านหนองบัว, บ้านสิมลี, โคกน้ำเกลี้ยง, นาจารย์, คำเม็ก

3. **บอดี้เมือง 2** (11 groups)
   - Coverage: กมลาไสย, ยางตลาด, ดอนจาน, เขาวง, มุกดาหาร districts
   - Care Leaders: อ.สรรเสริญ (2), ดาวใจ (6), สถิต (2), สุริยงค์ (1)
   - Key Villages: โพนงาม, ยางตลาด, ดอนจาน, โคกเครือ, เชียงเครือ

4. **บอดี้ท่าคันโท** (2 groups)
   - Coverage: ท่าคันโท (กาฬสินธุ์), ศรีธาตุ (อุดรธานี)
   - Care Leaders: แอ๋ว (1), น้อย (1)
   - Key Villages: ศรีธาตุ, ภุฮัง 1

5. **บอดี้กุฉินารายณ์** (3 groups)
   - Coverage: กุฉินารายณ์ district
   - Care Leaders: วีรวิทย์ (2), เพลินพิศ (1)
   - Key Villages: บัวขาว, ดอนอุมรัว, หัวนาคำ

6. **บอดี้คำใหญ่** (3 groups)
   - Coverage: ห้วยเม็ก district
   - Care Leaders: สำลี (3)
   - Key Villages: คำใหญ่, คำศรี, [expandable]

**TOTAL:** 6 Bodies | 17+ Care Leaders | 52 Mission Groups | 3+ Provinces

=== USER ROLES & PERMISSIONS ===

**1. ADMIN (แอดมิน)**
- Complete system access
- User account management
- System configuration
- All CRUD operations
- Global settings

**2. TEAM LEADER (หัวหน้าทีม)**
- READ-ONLY access to ALL data
- Executive dashboard with overview of all 6 bodies
- System-wide analytics and reports
- Performance comparison between bodies
- Data export capabilities (CSV, Excel, PDF)
- Cross-body statistics

**3. BODY LEADER (หัวหน้าบอดี้)**
- Full management of OWN body only
- Create/edit/delete care groups within body
- Manage all mission groups in body
- Assign and manage coordinators
- Body-specific reports and analytics
- Member management across body

**4. CARE LEADER (หัวหน้าแคร์)**
- Manage OWN care group only
- Oversee mission groups under care
- Schedule meetings and activities
- Track attendance for care group
- Generate care group reports

**5. GROUP LEADER (หัวหน้ากลุ่ม)**
- Manage OWN mission group only
- Member enrollment and management
- Activity planning and execution
- Attendance tracking
- Group performance reports

**6. MEMBER (สมาชิก)**
- View personal information
- See own group activities
- Check personal attendance
- Receive announcements

=== DATABASE DESIGN ===

**Core Tables:**
- `users` - Authentication, roles, permissions
- `user_sessions` - Secure session management
- `bodies` - 6 main organizational units
- `care_groups` - Sub-units under bodies
- `mission_groups` - Operational village groups
- `members` - Individual participants
- `meetings` - Meeting records and attendance
- `activities` - Group activities and events
- `reports` - Performance metrics
- `activity_logs` - Complete audit trail

**Security Features:**
- bcrypt password hashing
- Secure session tokens with expiration
- Role-based access control (RBAC)
- SQL injection prevention with prepared statements
- XSS protection with input sanitization
- CSRF protection with tokens
- Complete activity logging

=== TECHNICAL IMPLEMENTATION ===

**Backend Stack:**
- PHP 8.1+ with modern OOP design
- MySQL 8.0+ with optimized indexes
- RESTful API architecture
- PDO for database abstraction
- Session-based authentication

**Frontend Stack:**
- Responsive HTML5 with semantic markup
- Tailwind CSS 3.0+ for modern styling
- Font Awesome 6.0+ for icons
- Chart.js for data visualization
- Vanilla JavaScript ES6+ with modules
- AJAX for dynamic content updates

**Key Features:**
- Multi-level dashboard system
- Real-time data synchronization
- Advanced search and filtering
- Bulk data operations
- Automated report generation
- Meeting management system
- Attendance tracking
- Performance analytics
- Data export in multiple formats

=== DASHBOARD SPECIFICATIONS ===

**Team Leader Dashboard:**
- Executive summary cards (bodies, groups, members, attendance)
- Interactive charts comparing body performances
- Top/bottom performing groups lists
- Geographic distribution maps
- Trend analysis over time
- Quick action buttons for reports

**Body Leader Dashboard:**
- Body overview with key metrics
- Care group management interface
- Mission group oversight panel
- Member management tools
- Quick add/edit forms with validation
- Body-specific analytics

**Care Leader Dashboard:**
- Care group status overview
- Mission group coordination tools
- Meeting scheduler with calendar
- Member activity tracking
- Performance metrics for groups under care

=== THAI LOCALIZATION ===

**Language & Cultural Context:**
- Complete Thai interface
- Buddhist mission terminology
- Thai date formats (Buddhist calendar support)
- Thai phone number formats
- Address format: หมู่, ตำบล, อำเภอ, จังหวัด
- Cultural-appropriate colors and design

**Key Thai Terms:**
- บอดี้ (Body/Organization)
- แคร์กรุ๊ป (Care Group)
- กลุ่มพันธกิจ (Mission Group)
- หัวหน้าแคร์ (Care Leader)
- ผู้ประสานงาน (Coordinator)
- การประชุม (Meeting)
- การเข้าร่วม (Attendance)
- รายงาน (Report)

=== SAMPLE USER ACCOUNTS ===

team_leader / teamleader123 (Team Leader - Full Overview)
somdej_leader / password123 (Body Leader - สมเด็จ)
muang1_leader / password123 (Body Leader - เมือง 1)
muang2_leader / password123 (Body Leader - เมือง 2)
thakanto_leader / password123 (Body Leader - ท่าคันโท)
kuchinarai_leader / password123 (Body Leader - กุฉินารายณ์)
kamyai_leader / password123 (Body Leader - คำใหญ่)


=== API ENDPOINTS ===

**Authentication:**
- POST /api/auth/login
- POST /api/auth/logout
- GET /api/auth/verify

**Data Management:**
- GET|POST|PUT|DELETE /api/bodies
- GET|POST|PUT|DELETE /api/care-groups
- GET|POST|PUT|DELETE /api/mission-groups
- GET|POST|PUT|DELETE /api/members

**Reports & Analytics:**
- GET /api/reports/body/{id}
- GET /api/reports/care-group/{id}
- GET /api/analytics/overview
- GET /api/export/data/{format}

=== DEPLOYMENT REQUIREMENTS ===

**Production Features:**
- Error logging and monitoring
- Performance optimization
- Database connection pooling
- Caching mechanisms
- Backup automation
- Security headers
- SSL/TLS encryption

**Documentation:**
- Complete API documentation
- User manuals in Thai
- Installation and setup guides
- Security best practices
- Database schema documentation
- Role permission matrix

=== OUTPUT SPECIFICATIONS ===

**Deliverables:**
1. Complete PHP application with MVC architecture
2. MySQL database with sample data for all 52 groups
3. Role-specific dashboards with modern UI
4. Secure authentication and authorization system
5. RESTful API with comprehensive endpoints
6. Thai language interface with cultural considerations
7. Export system for reports (CSV, Excel, PDF)
8. Administrative tools for user management
9. Activity logging and audit trail system
10. Production-ready deployment package

**Quality Standards:**
- Clean, documented code following PSR standards
- Responsive design working on all devices
- Cross-browser compatibility
- Performance optimized for 1000+ concurrent users
- Security tested against OWASP top 10
- Accessibility compliant (WCAG 2.1)

Create a complete, enterprise-grade Thai Mission Management System that accurately represents the Kalasin province organizational structure with modern technology, robust security, and intuitive user experience for all role levels.

🎯 Usage Guide

Step 1: Copy the Prompt

คัดลอก prompt ในกรอบข้างบนทั้งหมด

Step 2: Customize (Optional)

เพิ่มความต้องการพิเศษ เช่น:

[Paste the above prompt] 

Additionally include:
- Mobile app with React Native
- SMS notification system
- Financial tracking module
- Document management system
- Video conferencing integration
- Multi-language support (English, Lao)

Step 3: AI Platform Recommendations

เหมาะสำหรับ:

  • Claude 3.5 Sonnet ⭐⭐⭐⭐⭐
  • GPT-4 Turbo ⭐⭐⭐⭐⭐
  • Gemini Pro ⭐⭐⭐⭐
  • GitHub Copilot Workspace ⭐⭐⭐⭐

Step 4: Expected Output

AI จะสร้างให้:

  • ✅ Complete PHP/MySQL application
  • ✅ Database schema with real data
  • ✅ 6 different role-based dashboards
  • ✅ RESTful API with security
  • ✅ Modern responsive UI
  • ✅ Thai language interface
  • ✅ Export and reporting system

📊 Prompt Quality Features

🎯 Comprehensive Scope

  • Real Data: โครงสร้างจริง 6 บอดี้ 52 กลุ่มพันธกิจ
  • Multi-Role: 6 ระดับสิทธิ์การเข้าถึงที่ชัดเจน
  • Security: ระบบรักษาความปลอดภัยระดับ Enterprise
  • Thai Context: วัฒนธรรมและภาษาไทยครบถ้วน

🔧 Technical Excellence

  • Modern Stack: PHP 8+, MySQL 8+, Tailwind CSS
  • Architecture: RESTful API, MVC Pattern
  • Performance: Optimized for production use
  • Documentation: Complete guides and manuals

📱 User Experience

  • Responsive: รองรับทุกอุปกรณ์
  • Intuitive: ใช้งานง่ายสำหรับทุกระดับ
  • Real-time: อัปเดตข้อมูลแบบ Live
  • Export: ส่งออกรายงานหลายรูปแบบ

Clean Master Prompt พร้อมใช้งาน - สร้างระบบ Mission Management ระดับมืออาชีพ! 🚀💼✨

Enterprise-ready | Production-grade | Thai-optimized

Generated: 2025-06-05 07:38:48 UTC by jgarise

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions