เหมาะสำหรับ
- เริ่มจากพรอมต์ที่มีโครงสร้างและใช้ซ้ำได้ แทนที่จะเป็นแชทเปล่า
- ปรับพรอมต์ให้เข้ากับข้อมูลของคุณ โดยยังคงเจตนาเดิมไว้
- เวิร์กโฟลว์ที่เกี่ยวข้องกับ Software Development
สร้างสัญญา Solidity ที่แข็งแกร่ง พร้อมการควบคุมสิทธิ์การเข้าถึงและฟังก์ชันเฉพาะ
Act as an experienced Ethereum developer. Create a Solidity smart contract for a {{App Name:blockchain messenger}}.
Functionality Requirements:
1. {{Requirement 1:Store messages on-chain}}
2. {{Requirement 2:Count message updates}}
Access Control:
- Read Access: {{Read Access:Public}}
- Write Access: {{Write Access:Owner Only}}
Focus specifically on {{Focus:[code_focus_areas]}} and ensure the code is gas-efficient. Provide the code and explain the implementation.
blockchain messenger
Store messages on-chain
Count message updates
Public
Owner Only
[code_focus_areas]
Act as an experienced Ethereum developer. Create a Solidity smart contract for a blockchain messenger. Functionality Requirements: 1. Store messages on-chain 2. Count message updates Access Control: - Read Access: Public - Write Access: Owner Only Focus specifically on [code_focus_areas] and ensure the code is gas-efficient. Provide the code and explain the implementation.
ตัวแปรจะอยู่ภายใน {{ และ }} และเป็นไปตามรูปแบบนี้:
ตัวเลือกสามารถอ้างอิงรายการตัวแปรที่กำหนดไว้ล่วงหน้าโดยใช้วงเล็บเหลี่ยม ตัวเลือกเหล่านี้จะแสดงเป็น[สีส้ม]และให้ค่าที่ใช้บ่อย เช่น สี โทน หรือภาษา
คุณยังสามารถระบุรายการตัวเลือกแบบอินไลน์ โดยคั่นด้วยเครื่องหมายจุลภาคได้
เคล็ดลับ: คุณไม่จำเป็นต้องใช้แอป PUCO เพื่อใช้พรอมต์เหล่านี้! เพียงคัดลอกเทมเพลตและแทนที่แต่ละส่วน {{…}} ด้วยข้อความของคุณเองโดยตรงใน ChatGPT, Claude, Gemini หรือผู้ช่วย AI อื่น ๆ