add project template

This commit is contained in:
raykkk
2025-10-29 12:18:04 +08:00
parent 38a7e49d03
commit c35c1187b2
5 changed files with 9 additions and 7 deletions

64
sample_template/README.md Normal file
View File

@@ -0,0 +1,64 @@
# [Your Sample Name]
[Brief description of what this sample demonstrates]
## 🌳 Sample Structure
### Python Only
```
.
├── README.md # Documentation
├── main.py # Entry point
├── requirements.txt # Dependencies
└── ... # Any files if necessary
```
### Fullstack
```
.
├── README.md # Documentation
├── backend/ # Backend source code
│ ├── main.py # Backend entry point
│ ├── requirements.text # Dependencies
│ └── ... # Other files
├── frontend/ # Frontend source code
│ ├── package.json # Frontend dependencies
│ ├── public/ # Static assets (HTML, favicon, etc.)
│ └── src/ # Frontend source
│ └── ... # Other files
└── README.md
```
## 📖 Overview
[Detailed description of the sample, what it demonstrates, and key features]
## 🚀 Getting Started
### Prerequisites
- Python 3.10 or higher
- [Add other prerequisites like API keys, Node.js, etc.]
### Installation
```bash
pip install -r requirements.txt
```
### Usage
```bash
python main.py
```
[Add usage examples and expected output]
## 🛠️ Features
- [Feature 1]
- [Feature 2]
- [Feature 3]

14
sample_template/main.py Normal file
View File

@@ -0,0 +1,14 @@
"""
[Your Sample Name] - Entry Point
This example demonstrates [brief description].
"""
import agentscope
def main():
"""Main function to run the example."""
print(agentscope.__version__)
if __name__ == "__main__":
main()

View File

@@ -0,0 +1 @@
agentscope