GitHub Copilot Instructions for InSpec
## Project Overview
InSpec is an open-source infrastructure testing framework written in Ruby. It provides a domain-specific language (DSL) for describing security and compliance
3.1k3mo agoReviewMountCreate a free account to mount
Building
```bash
# Android
flutter build apk
# Windows
flutter build windows
# Linux
flutter build linux
```
### Testing
```bash
flutter test
```
## Coding Guidelines
1. **Follow Dart/Flutter best practices**:
- Use `flutter_lints` package rules
3.1k3y agoReviewMountCreate a free account to mount
CONTRIBUTING.md`).
## Developer Workflows
- **Build**: `npm run compile` (or use VS Code build task)
- **Test**: `npm test` (runs Jest tests)
- **Package**: `npm run package` (creates VSIX)
- **Dependencies**: Use `npm run installDependencies
3.1k21mo agoReviewMountCreate a free account to mount
from names.
- Follow any matching file-scoped instructions under `.github/instructions/`.
- Inspect nearby code and tests before editing. Reuse existing abstractions and error types.
- Do not hand-edit generated files
3.1k6d agoReviewMountCreate a free account to mount
changed behavior.
## Review priorities
- Determine the intended behavior from the PR description, changed code, tests, and documentation; comment only when the implementation does not safely establish that behavior.
- Prioritize defects
No other project uses it yet
3.1k3mo agoReviewMountCreate a free account to mount
webapp:dev
# Timeout: Set 10+ minutes for startup. Server runs on https://localhost:3000
```
### Testing Commands
**NEVER CANCEL** test commands. Set appropriate timeouts:
```bash
# Unit tests (10+ seconds, NEVER CANCEL
Document your code thoroughly and ensure it is easy to understand and maintain.
6. **Test your changes**: Always test your changes to ensure they do not break existing functionality
No other project uses it yet
3k22mo agoReviewMountCreate a free account to mount
changed behaviour, not the repository in the abstract. Inspect relevant callers, interfaces and tests before commenting.
Prioritise, in order:
1. Consensus divergence, invalid state transitions, incorrect network-version gates
that
fails without them.
- Typos in comments or docs, unless they invert the meaning.
- Test file organization or helper placement.
- Pre-existing code not changed in this
3k4mo agoReviewMountCreate a free account to mount
YANG, REST API
10. **Warm boot support**: How the feature handles warm restart
11. **Testing**: Test plan overview
12. **References**: Related documents and specifications
## Language & Style
- **Documentation**: Markdown (`.md` files
No other project uses it yet
3k9mo agoReviewMountCreate a free account to mount
Kubernetes clusters and Linux hosts. Gadgets are eBPF programs packaged as OCI images.
## Build & Test Commands
```bash
# Build ig (standalone Linux tracer)
make ig
# Build kubectl-gadget (Kubernetes plugin)
make
Steady3 mentions in 2 weeks
No other project uses it yet
3k15d agoReviewMountCreate a free account to mount
Copilot Instructions
## Tooling / Dependencies
- We use **Make** for building, testing, and running the project.
- Dependencies are managed via Go modules (`go.mod` and `go.sum`).
- Use these make commands:
- Build: `make build
2.9k4mo agoReviewMountCreate a free account to mount
lint` command when golangci is locally installed or `make clint` when using docker container.
- Testing is done with `make test` command.
## Repository Structure
- The CLI tool source code is located
Steady5 mentions in 2 weeks
No other project uses it yet
2.9k2mo agoReviewMountCreate a free account to mount
under `build/`.
- Avoid changing `gem5/ext/` for dependency or policy work unless explicitly
directed.
- For tests, distinguish C++ GTests, Python PyUnit tests, and TestLib
quick/long/very-long suites.
- For CI/debugging, inspect concrete
No other project uses it yet
2.9k3y agoReviewMountCreate a free account to mount
core library.
- Any new features built into the core should be well-documented and tested.
- Any new features should be added with a focus on simplicity and performance, avoiding unnecessary
2.9k3y agoReviewMountCreate a free account to mount
without explanation.
- **Examples**: All code blocks and `copilot` commands must be copy-paste ready. Test them mentally before including.
- **Naming**: Use kebab-case for session names, file names, and identifiers
No other project uses it yet
2.9k5mo agoReviewMountCreate a free account to mount
port/fal` | vendored third-party Flash Abstraction Layer - **do not review, do not suggest changes** |
| `tests/*_tc.c` | utest cases, executed by CI under QEMU |
| `docs/` | docsify documentation, `docs/zh-cn` is the Chinese
2.9k8mo agoReviewMountCreate a free account to mount