You write an RFC by proposing a feature in the rust-lang/rfcs repository, discussing it on the internals forum, and then creating a tracking issue in the main rust repository once accepted. The process involves drafting the RFC, gathering community feedback, implementing the feature behind a feature gate like #![feature(my_feature)], and finally stabilizing it through a stabilization PR.
# Title: My New Feature
## Summary
A short description of the feature.
## Motivation
Why this feature is needed.
## Detailed Design
The technical implementation details.
## Unresolved Questions
Any open questions that need answering before stabilization.
Once the RFC is accepted, you create a tracking issue in the rust repository using the Tracking Issue template, which includes steps for implementation, documentation, and stabilization.