first approach to pty
This commit is contained in:
17
AGENTS.md
Normal file
17
AGENTS.md
Normal file
@@ -0,0 +1,17 @@
|
||||
## Agent Instructions
|
||||
|
||||
### Build, Lint, and Test
|
||||
|
||||
- Build: `cargo build`
|
||||
- Lint: `cargo clippy`
|
||||
- Test: `cargo test`
|
||||
- Run a single test: `cargo test --test <test_name>`
|
||||
|
||||
### Code Style
|
||||
|
||||
- **Formatting**: Use `cargo fmt` to format the code.
|
||||
- **Imports**: Group imports by standard library, external crates, and project modules.
|
||||
- **Types**: Use explicit types.
|
||||
- **Naming Conventions**: Follow Rust's naming conventions (e.g., `snake_case` for variables and functions, `PascalCase` for types).
|
||||
- **Error Handling**: Use `Result` and `?` for error propagation. Use `panic!` only for unrecoverable errors.
|
||||
- **Logging**: Use the `log` crate for logging.
|
||||
Reference in New Issue
Block a user